change virtual text when toggle checkbutton?

This forum has been archived and is no longer active.

The new forum is located at:

https://sourceforge.net/apps/phpbb/installjammer/

You may continue to view and search the topics in this forum, but no new posts can be created.

change virtual text when toggle checkbutton?

Postby jochenf » Sun Aug 21, 2011 5:24 am

Hi all,

how can i change a virtual text when toggling a checkbutton (enabled = 443, disabled = 80)?

I've set the action of the checkbutton to the id of an "set virtual text" action and this works fine, but only for an static text value.

Can a value be an calculation? In my case something like "<%VAL%> * 363 + 80"?

Thanks...
jochenf
 
Posts: 2
Joined: Sun Aug 21, 2011 5:16 am

Re: change virtual text when toggle checkbutton?

Postby hsehdar » Mon Aug 22, 2011 7:46 am

1. Add a new action group.
2. In that action group add action Set Virtual Text with virtual text as VAL and its value 80. Execute this condition only when the VAL is equal to the radio button or check button.
3. Go back to the radio button or check button, see its advanced properties - Action for which you add the alias or the action name from first step.

When check button or radio button is used the action group will get executed. If the check button or radio button condition is true or equal to some thing else then new value can be set using Set Virtual Text.

Hope this is helpful.
hsehdar
 
Posts: 134
Joined: Sun Sep 26, 2010 7:16 am

Re: change virtual text when toggle checkbutton?

Postby jochenf » Mon Aug 22, 2011 10:11 am

Yes, thank you!

In the action group i can define 2 conditions, that solves it.
jochenf
 
Posts: 2
Joined: Sun Aug 21, 2011 5:16 am


Return to Help

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron