Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colors in TreeView
Message
 
To
16/04/2004 07:31:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00895453
Message ID:
00895483
Views:
19
Thanks Cetin,
But that not work in the following way:
In InteractiveChange of the TextBox:
SEEK UPPER(this.Value) IN MyTable ORDER MyOrder
IF FOUND()
   thisform.OleTree.SelectedItem.BackColor = RGB(255,255,255)
   thisform.OleTree.SelectedItem.ForeColor = RGB(0,0,0)
   thisform.OleTree.SelectedItem = thisForm.OleTree.Nodes(ALLTRIM(STR(MyTable.Kod))+"_")
   thisform.OleTree.NodeClick(thisform.OleTree.SelectedItem) && In that method I populate a view based of the field Kod
   thisform.OleTree.SelectedItem.BackColor = RGB(255,0,0)
   thisform.OleTree.SelectedItem.ForeColor = RGB(255,255,255)
   thisform.OleTree.Refresh()
ELSE
   ....
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform