Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView Expand / NodeClick
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00707240
Message ID:
00708277
Views:
14
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform