Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,108
    • Issues 2,108
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #35087
Closed
Open
Created Feb 14, 2019 by FPC Admin account@fpc_adminOwner

Data lost in ComboBox, Style=csSimple => Leave with TAB

Original Reporter info from Mantis: griebold
  • Reporter name: Gernot Riebold

Description:

ComboBox with Style=csSimple
Edit the ComboBox and leave it with TAB-Key
Text is lost

Steps to reproduce:

Form with ComboBox, Style=csSimple
Edit the ComboBox
Leave it with TAB-Key
Text is lost

Additional information:

Problem is in lcl\include\customcombobox.inc - Line 500
Comment in Line 499 ...Issue #32559 (closed)

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];

Mantis conversion info:

  • Mantis ID: 35087
  • OS: 10
  • OS Build: 10
  • Platform: Windows
  • Version: 2.0
  • Fixed in version: 2.0.10
  • Fixed in revision: 63204 (#47ba57fd)
Assignee
Assign to
Time tracking