|
-
Nov 11th, 2002, 09:57 AM
#1
Thread Starter
Lively Member
OnGotFocus Overrides
I have a form in which I have a treeview control. If the form loses focus and then regains focus, I want to ensure that the treeview is up-to-date and then reset focus back to the previous selected node.
However, in the OnGotFocus override I am having trouble knowing how to refrence the treeview.
I have tried the following in the OnGotFocus sub:
Dim mIndx as Integer
mIndx = me.treeview1.selectednode.index
Can anyone help me ?
Thanks a bunch !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|