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
  • #33991
Closed
Open
Issue created Jul 15, 2018 by FPC Admin account@fpc_adminOwner

Event TComboBox.OnEditingDone is fired wrongly when clicking on TabSheets

Original Reporter info from Mantis: Hartmut @Hartmut2
  • Reporter name:

Description:

You have a ComboBox and a TPageControl with 2 TabSheets and 1 Button on each. When clicking on the TabSheets and the Buttons the focus wrongly is passed to the ComboBox. Clicking the next Button will remove the focus from the ComboBox and the TComboBox.OnEditingDone event is fired, although the ComboBox has never been clicked.
As wp found out, this bug only occurs, if ComboBox.TabOrder=0.
This bug occurs on Windows 7, but not on Linux with Gtk2.

Steps to reproduce:

a) compile and start the attached project Error1.zip on Windows
b) click on TabSheet2
c) click on Button 2
d) click on TabSheet1 (result: ComboBox1 receives the focus wrongly)
e) click on Button 1
Result: event TComboBox.OnEditingDone is fired, although this component was NOT "edited".

Mantis conversion info:

  • Mantis ID: 33991
  • OS: Windows
  • OS Build: Windows 7 32 bit
  • Platform: i386
  • Version: 1.8.4
  • Fixed in revision: 59186 (#8d0fe522)
Assignee
Assign to
Time tracking