View Issue Details

IDProjectCategoryView StatusLast Update
0035087LazarusLCLpublic2020-05-22 00:17
ReporterGernot Riebold Assigned ToMichl  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOS10 
Product Version2.0 
Fixed in Version2.0.10 
Summary0035087: Data lost in ComboBox, Style=csSimple => Leave with TAB
DescriptionComboBox with Style=csSimple
Edit the ComboBox and leave it with TAB-Key
Text is lost
Steps To ReproduceForm with ComboBox, Style=csSimple
Edit the ComboBox
Leave it with TAB-Key
Text is lost
Additional InformationProblem is in lcl\include\customcombobox.inc - Line 500
Comment in Line 499 ...Issue 0032559

Very quick and (very) diry workaround - Line 494
  if Style = csSimple then
     PreventDropDown := Key in [VK_RETURN, VK_ESCAPE]
  else
    PreventDropDown := Key in [VK_TAB, VK_RETURN, VK_ESCAPE];

TagsNo tags attached.
Fixed in Revision63204
LazTarget-
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0032559 closedMichl Tabulator isn't working for ComboBox and style csSimple 

Activities

Juha Manninen

2019-02-15 11:03

developer   ~0114136

Do you mean that r56086 from issue 0032559 caused the bug?

Michl

2020-05-22 00:17

developer   ~0122998

Thank you for the patch. Fixed in revision 63204. Please test and close if ok.

Issue History

Date Modified Username Field Change
2019-02-14 23:00 Gernot Riebold New Issue
2019-02-15 11:02 Juha Manninen Relationship added related to 0032559
2019-02-15 11:03 Juha Manninen Note Added: 0114136
2019-02-15 11:37 Michl Assigned To => Michl
2019-02-15 11:37 Michl Status new => assigned
2020-05-22 00:17 Michl Status assigned => resolved
2020-05-22 00:17 Michl Resolution open => fixed
2020-05-22 00:17 Michl Fixed in Version => 2.0.10
2020-05-22 00:17 Michl Fixed in Revision => 63204
2020-05-22 00:17 Michl LazTarget => -
2020-05-22 00:17 Michl Widgetset Win32/Win64 => Win32/Win64
2020-05-22 00:17 Michl Note Added: 0122998