Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview and refreshing data
Message
From
23/04/2004 13:02:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/04/2004 11:01:21
Barbara Hill
B.L. Hill Applications Limited
Halifax, Nova Scotia, Canada
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00897615
Message ID:
00897675
Views:
15
>Hi all,
>
>I am using the MS Treeview control to list addresses and the people in the addresses. The data from the full records is displayed when a node is clicked. However, many of the users are not very good with the mouse and perfer to use the keyboard. I would like to refresh the data on the screen relating to the selected node when a user presses ENTER. I can't seem to find a way to do that. This is my first use of Treeview control so any help is greatly appreciated.
>
>Thanks

See KeyDown event of treeview.
*** ActiveX Control Event ***
LPARAMETERS keycode, shift
if keycode=13
 = Inkey() && Clear buffer
 this.NodeClick(this.SelectedItem)
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform