View Issue Details

IDProjectCategoryView StatusLast Update
0033526LazarusLCLpublic2018-03-28 23:15
ReporterSonerAssigned ToMichl 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformi386OSWindowsOS Version10,7,Xp
Product Version1.8.2Product Buildsame with 1.6.4 
Target Version1.8.4Fixed in Version1.9 (SVN) 
Summary0033526: ALT + ANY_KEY works wrong.(TLabel.FocusControl)
DescriptionYou can connect TLabel to any control via TLabel.Caption and TLabel.FocusControl.
Normally TLabel.FocusControl gets focused only when you press the keys [Alt] and the underlined key from TLabel.Caption.
This works wrong this happens only when actually focused control is TEdit, TMEmo, TLIstBox or some other. (I don't tried all).
In somecontrols like TDBGrid, TStringGrid, TDAteTime and some others, TLabel.FocusControl gets focus without pressing [ALT] key.
Steps To Reproduce1. Download example project.
2. Select stringgrid or tdatetime
3. Press a key without [alt]
4. top left edit gets focused.
this is wrong. it should only focused with [alt]+[a] key.


TagsNo tags attached.
Fixed in Revision57571, 57572
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

Soner

2018-03-28 14:08

reporter  

AltPlusKeyBug.zip (127,687 bytes)

Michl

2018-03-28 22:53

developer   ~0107453

Fixed in trunk. Please test and close if ok.

Soner

2018-03-28 23:15

reporter   ~0107455

Thanks, you made it, it works with svn revision 57572.

Issue History

Date Modified Username Field Change
2018-03-28 14:08 Soner New Issue
2018-03-28 14:08 Soner File Added: AltPlusKeyBug.zip
2018-03-28 21:26 Michl Assigned To => Michl
2018-03-28 21:26 Michl Status new => assigned
2018-03-28 22:53 Michl Fixed in Revision => 57571, 57572
2018-03-28 22:53 Michl LazTarget => -
2018-03-28 22:53 Michl Note Added: 0107453
2018-03-28 22:53 Michl Status assigned => resolved
2018-03-28 22:53 Michl Fixed in Version => 1.9 (SVN)
2018-03-28 22:53 Michl Resolution open => fixed
2018-03-28 22:53 Michl Target Version => 1.8.4
2018-03-28 23:15 Soner Note Added: 0107455
2018-03-28 23:15 Soner Status resolved => closed