Print Page | Close Window

Change Focus in TreeView' NodeClick event?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=18143
Printed Date: 27 November 2024 at 8:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change Focus in TreeView' NodeClick event?
Posted By: mjohn
Subject: Change Focus in TreeView' NodeClick event?
Date Posted: 30 March 2011 at 9:01pm
Hi.
 I have a form has a treeview1, and has a textbox1(or other control),  when I click a node in the   treeview, I want change the focus to the textbox, but can't,  How to do it?

////////////////////
Private Sub TreeView1_NodeClick(ByVal Node As XtremeSuiteControls.TreeViewNode)
Text1.SetFocus
End Sub
///////////////////

Above code can't make the text1 get the focus.
 
Thanks!
 
Product: Xtreme Toolkit Version 15.0.1
Platform: Windows 7 pro
Language: VB6 SP6



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net