How to make a Delphi TSpeedButton stay pressed if it's the only one in the group

后端 未结 11 2120
既然无缘
既然无缘 2021-01-04 12:13

I\'m not sure why the TSpeedButton has this property but when a TSpeedButton is the only button of a given groupindex, it doesn\'t stay pressed, whether or not \"AllowAllUp\

11条回答
  •  无人及你
    2021-01-04 12:53

    GroupIndex groups the buttons. Only one buttons in the group may be active. All of them needs to have the same index higher than 0.

    AllowAllUp allows to switch button down and up, when it is clicked 2 times in a row.

提交回复
热议问题