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

后端 未结 11 1966
既然无缘
既然无缘 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:50

    Hm, strange, I remember using this quite a few times with success. Perhaps you should try playing with the SpeedButton's Down property? I don't think it toggles automatically when you click it --- you should explicitly toggle Down, I guess...

    [edit: replaced Checked with Down --- TSpeedButton doesn't have a Checked property, sorry!]

提交回复
热议问题