Forum > LCL

tbsCheck ToolButton

(1/3) > >>

anna:
Lazarus Daily Snapshot: Lazarus-0.9.29-26562-fpc-2.4.0-20100710-win32.exe
OS: WinXP SP3

ToolButton's Style property must be tbsCheck.
ToolButton must have some image from some ImageList.
Paternal ToolBar's Flat property must be True.

Problem:
When I push left mouse button on Toolbutton , its image goes little right & down. When I release left mouse button, Toolbutton becomes downed but Toolbutton's image restores position. But if Toolbutton is in downed mode its image must be little right & down.

Cursor over ToolButton: http://img197.imageshack.us/img197/4206/29139781.png
Cursor over ToolButton and left mouse button is pressed: http://img189.imageshack.us/img189/6066/83945603.png
Left mouse button is released: http://img339.imageshack.us/img339/7584/53308528.png

So why is ToolButton's image on screensot3 not in same position as on screensot2?

anna:

Downed SpeedButton with nonzero GroupIndex has correct moving of Gliph.
Why do not ToolButton behaviour duplicate nonzero-GroupIndex-SpeedButton behaviour?
Is it a bug?

anna:
In what unit is there code which drives Gliph movements?

anna:
I cannot find unit.
Moderator, you said that Lazarus is opensource. Why are you silent? I'll repeat the question:
In what unit is there code which drives Gliph movements?

You also cannot find unit, can you?

:(
 :'(

anna:
I see/
Lazarus is not open source!!!

Navigation

[0] Message Index

[#] Next page

Go to full version