Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8536815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:45:18+00:00 2026-06-11T10:45:18+00:00

I’m trying to build a simple 2 columns grid property editor based on VirtualTreeView.

  • 0

I’m trying to build a simple 2 columns grid “property editor” based on VirtualTreeView.

(I want to mimic look and user experience seen on Delphi’s IDE object inspector)


The component is working almost and can handle multiple editors,
but I’m facing an annoying bug :

When I click on a new node (a new row), the node is selected and the editor appears, regardless of the column I’ve clicked on. It’s expected and OK.

Then, when I click on the first column of the same row, I expect to see my editor content validated and the editor keeping focus (like in delphi’s object inspector).

But the editor content is validated then it disappear and the entire node (row) is selected. The editor won’t get back (even if I click on second column), until I select another node and click back on the previously selected node.

EDIT : added illustration and precision about my code.

illustration of the problem

about the code :
I do not have inserted code here because I used (as a starting point) the exact same code as the one found on Advanced Demo (properties page)


What I tried and found out :

the 2003’s compiled Advanced demo (properties tree page) found here seems to works like what I expect from my component (and from virtual treeview).

But when I compile this same demo (I tried with versions 4.5.2, 4.8.7 and even 5.0.0 from current trunk on google code, on both delphi 2007 and 2009) the bug reappears !

I first think there was a documented breaking change between 2003 and more recent versions,
but I can’t find anything.
I’ve also played with all available options trying to solve this, but without success.

I still don’t know if this problem comes from new delphi RTL or a breaking change (bug?) in virtualtreeview.

so my questions :

  • do you have the same problem when compiling Advanced demo ?
  • any tip or workaround in code to solve my problem ?

As a side note, I nearly give up with virtualtreeview this afternoon and I wanted to try a solution with another component… I found this interesting question and decided to try berg’s component, but was stopped in the buying process when reading an advice on their homepage (see my comment on the related question)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:45:19+00:00Added an answer on June 11, 2026 at 10:45 am

    The VSTs onChange just gets called by changing the selection of nodes. The state will not change anymore, if the node is already selected. So, you have to implement a behaviour similar to Object Inspector on your own, e.g. by calling VSTs EditNode()-Method in the OnClick-Callback:

    procedure TMainForm.VSTClick(Sender: TObject);
    var node: PVirtualNode;
    begin
      node:= VST.GetFirstSelected();
      if(node <> nil) then
        VST.EditNode(node, EDITABLE_COLUMN_INDEX);
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I am doing a simple coin flipping experiment for class that involves flipping a
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.