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

后端 未结 11 2122
既然无缘
既然无缘 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 13:01

    Delphi does the work for you so "don't write ANY CODE".

    In the IDE select ALL of your SpeedButtons that you want to operate as a group and then set the whole group's "GroupIndex" to something other than "0" and you are done -- with NO CODE -- NADA!!

提交回复
热议问题