Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OCX Data Type

Used to reference a custom control (OCX, ActiveX Control).

In order to use a control in C/SIDE, define a variable of type OCX and give it a name. Then use the lookup in the Subtype field to locate and select the control you want to use. You select from a list of installed controls, and when you select one, the GUID of the control is inserted. When the focus leaves the Subtype field, the name of the control is substituted for the GUID.

When you have defined a control as a variable, you can use the control through the variable, and you can browse its methods and properties in the Symbol Menu.

When you are using a control, you should know that there is not a one-to-one relationship between C/AL data types and COM data types. For an overview of the data type mapping, see Using COM Technologies in C/SIDE.

Community Additions

ADD
Show:
© 2015 Microsoft