Test the state of an checkbox or radio buttons

Started by Stephane Fonteyne, December 06, 2009, 12:27:54 PM

Previous topic - Next topic

Stephane Fonteyne

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
Stephane Fonteyne
Ba. Elektronica - ICT
GSM : +32-xxxxxxxxxx
PowerBasic Developer & Hardware Support

Ivan Iraola

The Code Sampler in This thread, has a routine explaning what you're looking for.
Android App Developer
http://www.uncledroid.com

Stephane Fonteyne

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
Stephane Fonteyne
Ba. Elektronica - ICT
GSM : +32-xxxxxxxxxx
PowerBasic Developer & Hardware Support

Rolf Brandt

Stephane,

Checkboxes and Optionbuttons are extremely easy to handle. The Functions Library has all the tools for it. Attached is a little example project.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Ivan Iraola

#4
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
Android App Developer
http://www.uncledroid.com

Stephane Fonteyne

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
Stephane Fonteyne
Ba. Elektronica - ICT
GSM : +32-xxxxxxxxxx
PowerBasic Developer & Hardware Support

Rolf Brandt

I'm looking forward to it. What is the project about?
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Stephane Fonteyne

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
Stephane Fonteyne
Ba. Elektronica - ICT
GSM : +32-xxxxxxxxxx
PowerBasic Developer & Hardware Support

Rolf Brandt

Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Pedro Marquez

Is possible the control of two or more groups of OptionButton




Eddy Van Esch

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').
Eddy

Pedro Marquez