DataWindow component methods
The PowerBuilder DataWindow component interrogates radio buttons inside a DataWindow as a single control. You can use the following methods to get or set the selection of radio buttons based on an index or the text label of the radio button in the group.
Method |
Description |
Parameters |
Returns |
SelectIndex |
Use this method to return a zero-based index of the selected radio button in the group. |
None. |
A zero-based index of the selected item. |
SelectItem |
Use this method to return the text of the selected item. |
None. |
The text of the selected item. |
SelectItemByText
|
Use this method to select the active button based on its text label. In the following example, “Active” is the text label for the selected radio button. |
A string with the name of the item that you want to select. |
Nothing. |
Privacy | Trademarks | Terms of Use | Feedback
Updated: 01 July 2024
© 2016 - 2024 Pegasystems Inc. Cambridge, MA All rights reserved.