Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and drop in Treeview
Message
 
To
02/06/2005 13:24:37
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01019044
Message ID:
01019476
Views:
20
>>
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform