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.