| 
        
          | 
              
                | T O P I C    R E V I E W |  
                | ollthi | Posted - 12/14/2013 : 5:13:04 PM Hello,
 
 I have done a X-function to make a GUI using a treenode (exaclty like the exemple :http://www.originlab.com/doc/X-Function/tutorials/Construct-Controls-on-X-Function-GUI )
 In a combo box I list all the workbooks available.
 
 My problem is that it`s working only one time. After the first execution if I have deleted or added a workbook the tree is not updated.
 
 How do I refresh my GUI?
 Thank you in advance
 
 
 
 thierry ollivaud
 |  
                | 1   L A T E S T    R E P L I E S    (Newest First) |  
                | ollthi | Posted - 12/16/2013 : 12:00:05 PM Hi,
 
 I try to be more precise :
 here is my _make_tree :
 
 if ( strcmp("INFORMATION", lpcszVarName) == 0 ) 	// check variable by name
 {
 
 GETN_USE(tr);
 // Choice of all the present sheet:
 foreach(WorksheetPage wksPg in Project.WorksheetPages)
 {
 MySTDUfile = MySTDUfile + wksPg.GetName() + "|";
 }
 
 GETN_MULTISEL_LISTBOX(STDUfile, "STDU file(s)", 1, MySTDUfile)
 
 return 0; // successful
 
 }
 return -1; // failed
 
 
 How can i do to pass in this function each time and not only at the initialisation?
 
 If i call this function my dialog box his ok but the information are not (user choice are false)
 Thank you in advance
 
 thierry ollivaud
 |  |  
 |