Enablement and Disablement of Component on Forms

LANSA

Enablement and Disablement of Component on Forms
Example 161 - Rating: common
The Things that Make Up this ExampleTo Execute this Example

This example shows some techniques for the dynamic enablement and disablement of components on forms.

The seven buttons on this form are enabled according to this table:
Button CaptionEnable Button When
EEmployee number is non-blank
DDepartment Code is non-blank
SSection Code is non-blank
EgadEmployee Number and Department Code are both non-blank
EasyEmployee Number and Section Code are both non-blank
DashDepartment Code and Section Code are both non-blank
EDSEmployee Number, Department Code and Section Code are all non-blank



Keywords
Disable Enable
Example 161