Re: [Gnoga-list] Radio Buttons

2016-01-08 Thread Rabbi David Botton
> > I presume one has to iterate over the buttons in a group, testing Checked, > to > find the currently checked button. > > You could also set a value on each and use a single event handler that updates a variable. David Botton

Re: [Gnoga-list] Radio Buttons

2016-01-08 Thread Rabbi David Botton
I updated the example in git to show using a single handler and value (On_Change for radios is only called when a radio is selected not deselected, which makes checking for Radio.Checked unnecessary): procedure Radio_Select (Element : in out Gnoga.Gui.Base.Base_Type'Class) is Radio :