Control Access is Similar to Visual Basic

This functionality is supported only if you are using the Classic Agent.

You can access a control's internal properties and methods using the dot operator and a syntax similar to standard Visual Basic.

Example

To retrieve the number of rows in a Grid ActiveX control, called MyGrid, you might use the iRows property, as follows:
INTEGER iNumRows
iNumRows = MyApp.MyGrid.iRows

Example

To set the number of rows in the same grid to 10, you might use:

MyApp.MyGrid.iRows = 10