Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with treeview needed
Message
De
17/10/2005 05:41:16
 
 
À
17/10/2005 04:26:24
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01059559
Message ID:
01059564
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform