Advanced properties for OCX

The Advanced Properties dialog allows you to set advanced properties for the selected OCX control frame.

This dialog includes the following options:

Help Enter a help string for the OCX control frame. The AppBuilder displays the help string in the run-time window status bar whenever the button has input focus.
Private Data Enter any private data about the OCX control frame.
Characters Select this option to write the control frame size and position in character units. The GUI Designer writes the values entered in Column, Row, Width, and Height on the OCX Control Frame Property Sheet in character units in the CREATE CONTROL-FRAME statement.
Pixels Select this option to write OCX control frame size and position in pixel units. The GUI Designer writes the values entered in X, Y, Width Pixels, and Height Pixels in pixel units in the CREATE CONTROL-FRAME statement.
Custom Lists Select this option to add the OCX control frame name to the selected custom list. For example, select the {&List-1} check box to add the OCX control frame name to custom list &List-2.

One of six user-defined, alphabetical lists of space-delimited object names represented by the preprocessor names (&List-1, &List-2, &List-3,&List-4, &List-5, &List-6). You can use custom lists in ABL code whenever you need to represent object names, as in the following example:

ENABLE ALL EXCEPT {&LIST-1} WITH FRAME {&FRAME-NAME}.

HIDE {&LIST-2} WITH FRAME {&FRAME-NAME}.

The GUI Designer adds an object name to a custom list whenever you activate one of the list toggles on the object's Advanced Property Sheet. Objects that are cut or deleted from a procedure file are automatically removed from the appropriate list.

X Enter a value in pixels from the window left edge where you want to place the control frame upper left or corner.
Y Enter a value in pixels from the window top edge where you want to place the OCX control frame upper left corner.
Width Pixels Enter a value for the number of pixel units wide to make the OCX control frame.
Height Pixels Enter a value for the number of pixel units high to make the OCX control frame height.
Current Layout Displays the current layout used to display the OCX control frame.
Sync With Master Displays the Sync With Master dialog which allows you to overwrite the current layout with the OCX control frame default properties.
Note: The Sync With Master option is enabled if you have defined a master layout.

For more information, see Property Sheet dialogs