Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The control ID should always be the full control entity id. This ensures easy use when the control ID is later passed back to you via event parameters. However, periods cannot be used in property indexes in OI. Instead, when referring to a control via an index property, use semicolons instead of periods. For instance, if you subclass MY_FORM.MY_EDITLINE, then adding an option will look like this:

Code Block
Set_Property(@Window:".OLE_SUBCLASS", "OLE.OptionButton[MY_FORM;MY_EDITLINE]", 1)

...

If you don't want to specify the semicolon, or if you plan to manipulate many controls on the same form, then use the CurrentWindow property instead.

...