File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
Username:
Password:
Save Password
Forgot your Password?
|
Admin Options
All Forums
Origin Forum for Programming
Forum for Origin C
method Make_tree not refresh
New Topic
Reply to Topic
Printer Friendly
Author
Topic
ollthi
Canada
5 Posts
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
ollthi
Canada
5 Posts
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
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000