glob_ui_button
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-04-25 03:13 PM
2014-04-25
03:13 PM
ii'mtrying to make this button change a parameter called "alu".
the button Works, but the parameter wont change????
6 REPLIES 6
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-04-25 08:59 PM
2014-04-25
08:59 PM
Hello,
You should have the parameter command
in the master or value script, not in the interface script.
Transfer everything in the master script and leave only lines
In addition I suggest adding an endif
Hope this helps/works.
You should have the parameter command
in the master or value script, not in the interface script.
Transfer everything in the master script and leave only lines
ui_dialog..... ui_pict_button....in the interface script.
In addition I suggest adding an endif
if glob_ui_button_id=1 then alu= 1 parameters alu= 1 endif
Hope this helps/works.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-04-26 09:49 AM
2014-04-26
09:49 AM
Thank you very mutch MR.Vesen.
Now with your help, it works fine.
Once again thank you.
Now with your help, it works fine.
Once again thank you.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-04-26 06:50 PM
2014-04-26
06:50 PM
What about if i want the same button to turn it off?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-05-04 10:09 AM
2014-05-04
10:09 AM
Hi,
try a boolean variable in the interface script and an if..then..else.. in the master.
try a boolean variable in the interface script and an if..then..else.. in the master.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-05-04 07:44 PM
2014-05-04
07:44 PM
Hello,
This might work (not tested);
This might work (not tested);
if glob_ui_button_id=1 then alu= not(alu) parameters alu= alu endifThis should work;
if glob_ui_button_id=1 then if alu= 1 then alu= 0 else alu= 1 endif parameters alu= alu endif
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-05-05 08:12 AM
2014-05-05
08:12 AM
Juha solution: smarter and shorter. Good point, thanks