PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Stephane Fonteyne on December 06, 2009, 12:27:54 PM

Title: Test the state of an checkbox or radio buttons
Post by: Stephane Fonteyne on December 06, 2009, 12:27:54 PM
Dear all,

I don't find any example how I can handle the states of an checkbox and radiobutton.
By example: if the user checked of click on the radiobutton or checkbox then fire it an event en call the eventhandler (SendMessage)

Have somebody an example how I can to this in FF3

Thanks
Stephane
Title: Re: Test the state of an checkbox or radio buttons
Post by: Ivan Iraola on December 06, 2009, 12:37:35 PM
The Code Sampler in This (http://www.planetsquires.com/protect/forum/index.php?topic=2096.0) thread, has a routine explaning what you're looking for.
Title: Re: Test the state of an checkbox or radio buttons
Post by: Stephane Fonteyne on December 06, 2009, 12:54:04 PM
Ivan,

This Guide example have not checkboxes and option button (radiobuttons here in FF3)
Can you please send my how I can test an checkbox and option button?

Thanks
Stephane
Title: Re: Test the state of an checkbox or radio buttons
Post by: Rolf Brandt on December 06, 2009, 01:32:33 PM
Stephane,

Checkboxes and Optionbuttons are extremely easy to handle. The Functions Library has all the tools for it. Attached is a little example project.
Title: Re: Test the state of an checkbox or radio buttons
Post by: Ivan Iraola on December 06, 2009, 01:45:56 PM
Quote from: Stephane Fonteyne on December 06, 2009, 12:54:04 PM
Ivan,

This Guide example have not checkboxes and option button (radiobuttons here in FF3)
Can you please send my how I can test an checkbox and option button?

Thanks
Stephane

Yes it does, run the Sampler and click on the menu bar PROCESS --> DISPLAY PROCESS

On the source code is the form named ProcessTab1
Title: Re: Test the state of an checkbox or radio buttons
Post by: Stephane Fonteyne on December 06, 2009, 01:47:50 PM
Hi Rolf,

Thanks for sharing the example, I looking  for that
If my application is finished then post here my TDA7300 project

Kind regards
Stephane
Title: Re: Test the state of an checkbox or radio buttons
Post by: Rolf Brandt on December 06, 2009, 01:49:03 PM
I'm looking forward to it. What is the project about?
Title: Re: Test the state of an checkbox or radio buttons
Post by: Stephane Fonteyne on December 06, 2009, 02:09:59 PM
Rolf

I posted here my example only the user interface en display the values of the sliders.

Rolf, I'm busy with a project which I send commands to a GUI interface en those commands will be send via RS232 to the microcontroller. the microcontroller does the I2C communication. The use can for example configure the volume. If he connect to the port first to do alot. I think that was you question.

If you like to updated my application of any ideas, You welcome.
Yopu help is very appriciated

Stephane

Kind regards
Stephane
Title: Re: Test the state of an checkbox or radio buttons
Post by: Rolf Brandt on December 06, 2009, 02:13:08 PM
Thanks for the info. Sounds interesting.
Title: Re: Test the state of an checkbox or radio buttons
Post by: Pedro Marquez on November 07, 2013, 07:31:16 PM
Is possible the control of two or more groups of OptionButton



Title: Re: Test the state of an checkbox or radio buttons
Post by: Eddy Van Esch on November 07, 2013, 07:40:05 PM
Pedro,
An optionbutton has, in its Properties, a 'GroupName' property. All of the optionbuttons in the same group must have the same groupname (For example 'Group1'). The optionbuttons in another group must all have a different groupname (For example 'Group2').
Title: Re: Test the state of an checkbox or radio buttons
Post by: Pedro Marquez on November 07, 2013, 07:55:01 PM
thanks,