Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Colors in TreeView
Message
 
À
16/04/2004 07:31:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00895453
Message ID:
00895483
Vues:
18
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform