Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

5.4 Inserting Properties and Methods

A property refers to the attributes of a control or form that can be modified. For example, you can change a text string and the text color when the user clicks on a button.

A method refers to the possible actions that a control or form can perform. An animation control, for example, has four possible actions: Move, PauseAnimation, PlayAnimation, and Refresh.

NOTE: Not all controls have methods and a single method can be associated with more than one control.

For a complete listing of the properties and methods available for each control, refer to the "PowerCOBOL Objects Programmer's Guide."

Properties and methods are accessed by highlighting a control in the Editor window and then selecting either Property or Method in the Edit menu.

You may alternatively select an available property or method for a control by highlighting it in the Editor window and right clicking on it with the mouse. This will bring up a pop-up menu from which you can select Properties or Methods.