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,096
    • Issues 2,096
    • 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
  • #40036
Closed
Open
Issue created Dec 08, 2022 by dbannon@dbannonContributor

Example Window, better key handling

  • Lazarus/FPC Version: all
  • Operating System: all
  • CPU / Bitness: all

What happens

Not all components, when they have focus, trigger a close if ESC is pressed.

What did you expect

Escape key should close window

Steps to reproduce

The Category CheckBoxes (dynamically created) can be included in the ESC system by capturing the key in the Panel they sit in. This patch also implements two things GetMem suggested, a keypress while ListView has focus moves focus to EditSearch so user can continue typing and BeginUpdate and EndUpdate around the filling of the listbox to avoid flicker.

Davo

ex-better-keys.patch

Assignee
Assign to
Time tracking