Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and drop in Treeview
Message
 
À
02/06/2005 13:24:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01019044
Message ID:
01019476
Vues:
21
>>
>>thisform.oTree.SelectedItem = thisform.oTree.Nodes("_RT"+tran(x3))
>>
>
>
>I just sent you an email with screenshots (can't do it here AFAIK)

Peter, couldn't find it. But try (I hope I remeber that well, If no tomorow I'll send the exact code):
*** In Lost Focus Event of the TreeView
*** Store Somwhere Fore and Back Colors of the TreeView

this.HideSelection = .t.
this.SelectedItem.BackColor = RGB(255,0,0)
this.SelectItem.ForeColor   = RGB(255,255,255)


*** In GotFocusd Event of the TreeView

this.HideSelection          = .f.
this.SelectedItem.BackColor = OldForeColor
this.SelectItem.ForeColor   = OldBackColor
I hope I didnt' mess anything :o))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform