Andre
2008-06-04 17:20:09 UTC
Hello,
I think it is something simple, but I coudn´t find the solution myself.
I want a bi-state button. I tried SpeedButton, but it didn´t respond to
the hotkey in its caption, so I forgot this one.
TButton doesn´t seem to have this funcionality, and then I go for
TBitBtn (wich I prefer, anyway).
But I can´t find the "Down" property of if! How do I use that. The help
for this TBitBtn even says, for the Glyph property that it has the
"Down" state. It accecpts 4 images in the glyph.
But I am lost on how to use it. I don´t wanna images (necessarily). I
just want it to toogle the pressed look each time the user clicks.
Can you help me?
Thanks.
André
I think it is something simple, but I coudn´t find the solution myself.
I want a bi-state button. I tried SpeedButton, but it didn´t respond to
the hotkey in its caption, so I forgot this one.
TButton doesn´t seem to have this funcionality, and then I go for
TBitBtn (wich I prefer, anyway).
But I can´t find the "Down" property of if! How do I use that. The help
for this TBitBtn even says, for the Glyph property that it has the
"Down" state. It accecpts 4 images in the glyph.
But I am lost on how to use it. I don´t wanna images (necessarily). I
just want it to toogle the pressed look each time the user clicks.
Can you help me?
Thanks.
André