View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024817 | Lazarus | LCL | public | 2013-08-02 18:09 | 2014-05-01 16:42 |
Reporter | Vojtech Cihak | Assigned To | Bart Broersma | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | amd64 | OS | Linux | ||
Product Version | 1.1 (SVN) | ||||
Fixed in Version | 1.2.4 | ||||
Summary | 0024817: TToolButton and acceleration keys | ||||
Description | I noticed that acceleration keys does not work with TToolButton. I tested and DialogChar is broadcast correctly. In TToolButton.DialogChar (toolbutton.inc) is line(934): if IsAccel(Message.CharCode, Caption) and FToolBar.CanFocus then ... but ToolBar.CanFocus is overridden method function TToolBar.CanFocus: Boolean; begin Result := False; end; so it never happen. It is strange since ToolButton is used exclusively with TToolBar. I would like to ask someone to test in Delphi, then we can invite patch or remove TToolButton.DialogChar. | ||||
Steps To Reproduce | Run demo. Alt+T does nothing. | ||||
Additional Information | Lazarus 1.1 r42089M FPC 2.7.1 x86_64-linux-qt Of some reason, my mail to mailing list failed, so I give it directly here. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | r44871 | ||||
LazTarget | - | ||||
Widgetset | |||||
Attached Files |
|
|
|
|
Please close if OK. |
|
I almost forgot this report. In the meantime I installed Delphi7 where accel. works. I tested with r.44871. Works well. Thanks. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-08-02 18:09 | Vojtech Cihak | New Issue | |
2013-08-02 18:09 | Vojtech Cihak | File Added: ToolButtonAccel.zip | |
2014-05-01 16:22 | Bart Broersma | Fixed in Revision | => r44871 |
2014-05-01 16:22 | Bart Broersma | LazTarget | => - |
2014-05-01 16:22 | Bart Broersma | Note Added: 0074728 | |
2014-05-01 16:22 | Bart Broersma | Status | new => resolved |
2014-05-01 16:22 | Bart Broersma | Fixed in Version | => 1.2.4 |
2014-05-01 16:22 | Bart Broersma | Resolution | open => fixed |
2014-05-01 16:22 | Bart Broersma | Assigned To | => Bart Broersma |
2014-05-01 16:42 | Vojtech Cihak | Note Added: 0074729 | |
2014-05-01 16:42 | Vojtech Cihak | Status | resolved => closed |