 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
eric Guest
|
Posted: Wed Oct 18, 2006 11:25 pm Post subject: SoftGems Virtual Tree edit |
|
|
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
|
Posted: Thu Oct 19, 2006 3:48 am Post subject: Re: SoftGems Virtual Tree edit |
|
|
"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 |
|
 |
|
|
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
|
|