Testing Form Components Containing OCX Controls

Form components that contain an OCX cannot be tested within the Uniface IDE.

The tested component, and therefore the OCX control, maintains the behavior of the IDE. In effect, the OCX is loaded in a type of development mode (AmbientUserMode=false) that might have some restrictions for the OCX.

To test your component, do one of the following:

  • Start a separate Uniface IDE using the /tst command line switch and the OCX form name.
  • Run the application using the Uniface runtime engine (uniface.exe).

To control the ambient user mode for all OCXs in the application, set the UserMode setting in the .ini file.

Related Topics