BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SoftGems Virtual Tree edit

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General)
View previous topic :: View next topic  
Author Message
eric
Guest





PostPosted: Wed Oct 18, 2006 11:25 pm    Post subject: SoftGems Virtual Tree edit Reply with quote



I am using a VT with a TComboBox editor and it works fine except for one issue:

My tree has 8 columns. columns 2 and 3 have combo box editors
and the columns 4 through 8 are set/unset option icons. The
icons are set with a VT onCLick handler and change when selected.
The Combo box columns must be selected with a click and then
clicked again in order to get the editor to start. How can I get
the editor to start when the cell is first selected and not
require the second click?

Thanks,
Eric

PS - The advance demo grid example also has this two clicks
required behavior.
Back to top
David M
Guest





PostPosted: Thu Oct 19, 2006 3:48 am    Post subject: Re: SoftGems Virtual Tree edit Reply with quote



"eric" <Eric (AT) example (DOT) com> wrote in message
news:45367180 (AT) newsgroups (DOT) borland.com...
Quote:

The Combo box columns must be selected with a click and then
clicked again in order to get the editor to start. How can I get
the editor to start when the cell is first selected and not
require the second click?

I solved this by starting editing when the focused node changed. Ie, in the
OnFocusChanged event, check if the Node parameter is a node you want to
edit, and if so call tree.EditNode(Node, Column).

Out of interest, what combo editor are you using?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.