JVCL Help:TJvLookOutButton.GroupIndex

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Allows lookout buttons to work together as a group.


Pascal

 propertyGroupIndex: Integer;


Description

Set GroupIndex to determine how the button behaves when clicked. When GroupIndex is 0, the button behaves independently of all other buttons on the form. When the user clicks such a button, the button appears pressed (in its clicked state) and then returns to its normal up state when the user releases the mouse button. When GroupIndex is greater than 0, the button remains selected (in its down state) when clicked by the user. When the user clicks a selected button, it returns to the up state. Setting the G oupIndex property of a single button to a value greater than 0 causes the button to behave as a two-state button. Buttons with the same GroupIndex property value (other than 0), work together as a group. When the user clicks one of these buttons, it remains selected until the user clicks another button belonging to the same group. Buttons used in this way can present mutually exclusive choices to the user.


See Also

TJvCustomLookOutButton.Down


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page