Sym
Sym
Returns a pointer value to the control
Read-only Runtime-only Sym property
Applies to: Generic , GraphItem , Grid , GridCell , ListItem , MenuItem , TabbedItem , TreeItem
This property is used to return the "pointer value" for the control. The value can then be assigned to a variable and then later be used to reference the control. The control is referenced by replacing the controls name with an asterisk followed by the numeric variable containing the pointer value, for example to assign the pointer value of the control btnControl1 to a variable the following would be used:
Pointer = .btnControl1.sym
and to reference the control using the pointer the following would be used:
.*Pointer.Text$ = "Some Text"
The SymNext property could then be used to ge the next control in tab order.
NOTE: This obscure technique has been largely superseded with the OBJECT notation for forms. The usage is now deprecated.