Forms Designer - Working with OCX Controls


An OCX control cannot be used until the control has been installed into the KCML Forms designer, this is done by selecting the Install OCX option from the File Menu. This presents a list of the available OCXs installed on your PC. Note that this may be different from the list on other peoples PC and when using OCX controls you need to be certain that the OCX you use will be available.

Browsing available OCX controls

Find the OCX in the list and tick the check box next to it. The forms designer will display the name of the control which is often quite terse. When you close the dialog the OCXs icon should appear on the KCML controls palette at the right hand end. The icons are tool tipped so hover over them with the mouse to identify ambiguous symbols.

Control palette shoing OCX controls on the right

To add the control to the form click on the control in the palette then click on the form. Once the control is on the form the properties list is updated to contain the properties and events handlers for the controls. Additional configuration of the control can sometimes be achieved by left double clicking on the newly added control.