Associating a Toggle Button with The Alarm Parameter
We are now going to add a toggle button to the panel and associate it with the alarmStat parameter we defined previously.
1. Click on the Data Access item of the Palettes window to show the corresponding palette.
2. Drag the DbToggle gadget to the Main window.
3. If the DbToggle inspector panel does not open automatically, double-click on the DbToggle gadget to open it.
4. Use the combo box to enter DomainNodes::table(properties) in the Data Source cell of the DbToggle inspector.
Most likely, you will need to resize the inspector to see the full data-source names.
5. Use the combo box to enter alarmStat in the Column cell of the DbToggle inspector.
6. Type Alarm Filter in the Label text field.
7. Click Apply.
You may want to resize the transparent gadget bounding box.
Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.