Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

11.1 Using a Form to Design a Control

While most controls are visually available (can be seen by an end user on the monitor, such as a push button), it is possible that you may create a control that has no visual property (cannot be viewed by the end user).

For example, a control that you might develop to perform file access and logging may not display any information to the end using on the monitor when the application is executing.

However, any time you develop any type of control using PowerCOBOL, you still use a PowerCOBOL form as the "container" for the control - even for invisible controls.

That is, you must still create a blank form and then create event procedures and other needed code to create a control - even if the form is never displayed.

The name you give this form typically becomes the name of the control when the .DLL containing the form is registered to the Windows system. To create multiple controls within a single .DLL file, you thus create multiple forms within the same PowerCOBOL module.