Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView Expand / NodeClick
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00707240
Message ID:
00708277
Vues:
15
Hi Bhavbhuti,

If I understand you corectly I want to avoid recursion call of SyncTreeView method from Refresh method of a form.

The first thing that came to my mind is to put à parameter in Reresh metod of a form:

PROCEDURE Refresh
LPARAMETER not_recurse && The default falue is .F. (i.e. when this        method is called w/o parameter    not_recurse == .f.
...

   IF NOT not_recurce
      thisform.TreeView.SyncTreeView
   ENDIF
ENDPROC

PROCEDURE SyncTreeView
...

   thisformRefresh(.t.)
ENDPROC
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