Using a Check Box to Set Properties for Another Control
You can use a check box to set certain properties, such as visibility, enabled, and required for another control.
Sample Project
forms.samples.controls/Forms/Visibility/VisibilityBinding
To view the sample for this task, import the advanced sample projects as described in Importing the Forms Advanced Samples. The sample form for the task described in this section is contained in the forms.samples.controls project.
The form (VerticalBinding.form) is at:
forms.samples.controls/Forms/visibility/
You can double-click the form’s filename (as well as those of other project resources) in the Project Explorer to open it in the editor. There, you can examine it and use it as a model for your own projects.
- Setting Up the Visibility Flag of a Text Control
You can set up the visibility flag of a text control at runtime based on the value of a checkbox control. - Setting Up the Enabled Flag of a Text Control
You can set up the enabled flag of a text control at runtime based on the value of a checkbox control. - Setting Up the Required Flag of a Text Control
You can set up the required flag of a text control at runtime based on the value of a checkbox control.
Copyright © Cloud Software Group, Inc. All rights reserved.