Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 2,097
    • Issues 2,097
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #32509
Closed
Open
Issue created Oct 04, 2017 by FPC Admin account@fpc_adminOwner

Escape key triggers a disabled cancel button

Original Reporter info from Mantis: dezlov
  • Reporter name: Denis Kozlov

Description:

Escape key triggers the Click event of a disabled cancel button, which is wrong.

This is also unlike the Return key handling, which first checks if the default button is actually enabled and visible before triggering the Click event.

Also checked with Delphi 2010, both Escape and Return keys do not trigger actions if buttons are disabled or not visible.

Attached patch fixes this issue. Example project attached.

Mantis conversion info:

  • Mantis ID: 32509
  • Build: Lazarus 1.9.0 r55964
  • Version: 1.9 (SVN)
  • Fixed in revision: r55975 (#bc30decf)
  • Monitored by: » @FTurtle (FTurtle), » dezlov (Denis Kozlov)
Assignee
Assign to
Time tracking