Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with treeview needed
Message
From
17/10/2005 05:41:16
 
 
To
17/10/2005 04:26:24
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01059559
Message ID:
01059564
Views:
12
Hi Albert

In the TreeView's DblClick method, you need to say something like :-
This.SelectedItem.Expanded = .T.
You literally have to re-expand the item - the behaviour you are experiencing is one of those annoying quirks of the treeview control.

HTH



>Hello Everybody
>
>I use a treeview to show structured data from our electronic archiv.
>When doubleclicking on a node i call an "archivviewer.exe" to show the wanted archiv data (pdf,tif...)
>
>But when doubleclicking on a node, the node is also expanded or shrinked.
>
>I want to stop this behavior and put a "nodefault" in my doubleclick event.
>No success.
>The node is still expanded or shrinked and then the archiv viewer starts.
>
>I don't know how to prevent the treeview nodes from being expanded when doubleclicking ??
>
>Any help welcomed
>
>Best regards
>
>Albert
-=Gary
Previous
Reply
Map
View

Click here to load this message in the networking platform