View previous topic :: View next topic |
Author |
Message |
DaveRook
Joined: 10 Dec 2014 Posts: 4
|
Posted: Wed Dec 10, 2014 12:43 pm Post subject: How to edit cell to rename |
|
|
Hi
First off, I can't find any documentation for VirtualTree so sorry if this is covered.
Our VirtualTree works fine, we click mouse button 1 (lmb) and it allows us to edit. I now need to also add the ability via a right click context menu (so we can edit either way).
I'm lost as to what method I need to call... I am hoping to do
[code]
public void OnRename()
{
this.virtualTree.StartEditProcess();
}
[/code]
How do I start the "edit event" from my C# code? |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
DaveRook
Joined: 10 Dec 2014 Posts: 4
|
Posted: Wed Dec 10, 2014 1:39 pm Post subject: |
|
|
And the answer is
[code] this.virtualTree1.EditFirstCellInFocusRow();[/code] |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Dec 10, 2014 10:16 pm Post subject: |
|
|
Looks like you found the right answer.
The documentation for Virtual Tree can be accessed via the Windows Start menu under Start > Programs > Infralution > Virtual Tree 4 > Virtual Tree Help _________________ Infralution Support |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|