Setting a Push Button part to disabled
You may choose to restrict the operation of certain parts within an application until some criteria is met by the user. In our example, we want to disable, or grey-out, the Buy and Sell push buttons until the user selects an item from the Security name drop-down list. To disable the buttons, do the following:
1. Display the Properties window for the Buy push button.
2. Change the value of the enabled property by selecting the cell in the value column then selecting the false button.
3. Click anywhere on the Composition Editor to apply the properties changes. Notice that the button is now grayed in the Composition Editor.
4. Now, make the same change for the Sell push button.
5. Later you will make connections that enable this push button when the user selects an item from the Security name drop-down list.
Last modified date: 06/27/2019