[Gambas-user] R: Setting all RadioButton's values to false

Ru Vuott vuott at ...325...
Tue Dec 18 00:49:07 CET 2012


Public Sub Button1_Click()

  Dim obj As Object
  
    For Each obj In FMain.Children

      If Object.Type(obj) = "RadioButton" Then
       obj.Value = False
      Endif
   
    Next

End




--- Lun 17/12/12, M. Cs. <mohareve at ...626...> ha scritto:

> Da: M. Cs. <mohareve at ...626...>
> Oggetto: [Gambas-user] Setting all RadioButton's values to false
> A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Data: Lunedì 17 dicembre 2012, 21:23
> Is there a possibility to set all the
> RadioButton's values to false?
> 
> E.G:
> RadioButton1.Value = False
> RadioButton2.Value = False
> RadioButton3.Value = False
> RadioButton4.Value = False
> RadioButton5.Value = False
> RadioButton6.Value = False
> 
> Will still leave the last clicked RadioButton's value True.
> 
> Thanks!
> 
> Csaba
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT.
> Free Trial
> Remotely access PCs and mobile devices and provide instant
> support
> Improve your efficiency, and focus on delivering more
> value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list