Announcement

Collapse
No announcement yet.

How to change item in the object properties table?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to change item in the object properties table?

    I get the properties from the image object 'Image1' and stores them in table:

    tProperties = Image.GetProperties("Image1");

    How to change item in the object properties table? For example, set 'Visible = false',

    and then use the modified table to another object:

    Image.SetProperties("Image2", tProperties);

  • #2
    Like this:
    Code:
    tProperties = Image.GetProperties("Image1");
    tProperties.Visible = false;
    Image.SetProperties("Image2", tProperties);
    Tables and how to use indexes is explained here.

    Ulrich

    Comment


    • #3
      yes good Ulrich :yes

      or by direct way :

      PHP Code:
      Image.SetProperties("Image1", {Visible=false}); 
      :yes

      Comment

      Working...
      X