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.1k
    • Issues 2.1k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • 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
  • #37145
Closed
Open
Issue created May 26, 2020 by FPC Admin account@fpc_adminOwner

[Patch] TTreeView mouse selection

Original Reporter info from Mantis: biloky @biloky
  • Reporter name: Joeny Ang

Description:

The following are addressed by this patch:

  1. Multiselect with Shift, no msSiblingOnly; select a first child then select the parent (eg. on the attached example: select Item4, then Item0), this will select everything from Item4 to the last item
  2. Setting MultiSelect to False does not clear selection
  3. GetNodeAt(X,Y) should honor RowSelect state. When RowSelect=False, it will only return a node if X/Y falls inside the rect of the node and its icon.
  4. Added tvoEmptySpaceUnselect option; clicking on white space will clear selection; when RowSelect=True, selection will only be cleared when the space after the last item is clicked.

Mantis conversion info:

  • Mantis ID: 37145
  • Build: trunc
  • Version: 2.1 (SVN)
  • Fixed in revision: r63232 (#257f842d), r63235 (#0d191847)
Assignee
Assign to
Time tracking