>
> ----- Original Message -----
> From: "leowang" <[email protected]>
> Newsgroups: fltk.general
> To: <[email protected]>
> Sent: Saturday, January 02, 2010 6:59 AM
> Subject: [fltk.general] how to set a default select radio button
>
>
> > Dear all,
> > Happy new year! :)
> >
> > Recently I use the CheckButton and RadioButton widget, but I don't know
> > how to set a default select CheckButton or RadioButton. For example, I
> > have two CheckButton widget, when these two display at the first time,
> > they are all in deselect status unless I choose one. How to make one in
> > select status by default? Thanks.
> >
> > BR,
> > Leo
> > _______________________________________________
> > fltk mailing list
> > [email protected]
> > http://lists.easysw.com/mailman/listinfo/fltk
> >
>
> Just set the value of the required default button to 1
> If you are using fluid, then add  o->value(1) to the Additional Code box for
> that button   ( "o" is equivalent this widget )
>
>
>
> --------------------------------------------------------------------------------
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.725 / Virus Database: 270.14.124/2596 - Release Date: 01/01/10
> 09:20:00
>
>
>

Thanks, Brian. It is OK now.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to