Re: [Lazarus] Grouping radio buttons

2012-03-21 Thread Jürgen Hestermann
Salvatore Coppola schrieb: Put them in varius GroupBoxes so you can use the groupbox caption to logically(visual) differenziate each group of radiobuttons As already discussed, this also means to abandon individual placing of the buttons. I have now used one TRadioGroup and TRadioButton

Re: [Lazarus] Grouping radio buttons

2012-03-21 Thread Salvatore Coppola
Off topic (maybe) I often use for the matter TComboBox with Style:=csDropDownList == only one choise per list (drastic reduction of space consumption) Salvatore 2012/3/21 Jürgen Hestermann juergen.hesterm...@gmx.de: Salvatore Coppola schrieb: Put them in varius GroupBoxes so you can use the

Re: [Lazarus] Grouping radio buttons

2012-03-20 Thread Jürgen Hestermann
Hans-Peter Diettrich schrieb: I don't see how a user will recognize arbitrary radio button groups, with related buttons scattered across a form. Buttons in a panel or RadioGroupBox instead are naturally perceivable as related. Thus IMO the given model enforces a clearly structured GUI. When

Re: [Lazarus] Grouping radio buttons

2012-03-20 Thread Martin Schreiber
On Tuesday 20 March 2012 07:21:47 Jürgen Hestermann wrote: Hans-Peter Diettrich schrieb: I don't see how a user will recognize arbitrary radio button groups, with related buttons scattered across a form. Buttons in a panel or RadioGroupBox instead are naturally perceivable as related. Thus

Re: [Lazarus] Grouping radio buttons

2012-03-20 Thread Graeme Geldenhuys
On 19 March 2012 22:15, Luiz Americo Pereira Camara luizmed@... wrote: Some time ago, i needed the same feature so implemented a TRadioButton.GroupIndex property where only the radio buttons with the same GroupIndex would be affected. That is exactly how fpGUI does it too since the start.

Re: [Lazarus] Grouping radio buttons

2012-03-20 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: On 20 March 2012 03:34, Hans-Peter Diettrich DrDiettrich1@a wrote: Buttons in a panel or RadioGroupBox instead are naturally perceivable as related. That is highly dependent on the UI layout. For a clean and uncluttered look, panels don't help the cause much.

Re: [Lazarus] Grouping radio buttons

2012-03-20 Thread Jürgen Hestermann
Martin Schreiber schrieb: MSEgui TRadioButton equivalent (tbooleaneditradio) has an integer group property as well. A useful feature. Nice to hear. I find this principle so apparent that I was a bit astonished that it was not implemented in TRadioButton as well. TRadioButton also allow an

Re: [Lazarus] Grouping radio buttons

2012-03-20 Thread Salvatore Coppola
Put them in varius GroupBoxes so you can use the groupbox caption to logically(visual) differenziate each group of radiobuttons Salvatore 2012/3/19 Jürgen Hestermann juergen.hesterm...@gmx.de: I already searched for hours but cannot find anything useful. My question: Is it possible (and if

Re: [Lazarus] Grouping radio buttons

2012-03-19 Thread Mattias Gaertner
On Mon, 19 Mar 2012 17:51:48 +0100 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: I already searched for hours but cannot find anything useful. My question: Is it possible (and if yes, how) to group some radio buttons so that only one of each group can be selected? I put some radio

Re: [Lazarus] Grouping radio buttons

2012-03-19 Thread Jürgen Hestermann
Mattias Gaertner schrieb: Is it possible (and if yes, how) to group some radio buttons so that only one of each group can be selected? Use a TRadioGroup or put the radiobuttons on a panel. Hint: A Panel can become invisible with BevelOuter=bvNone. I already read a bit about TRadioGroup.

Re: [Lazarus] Grouping radio buttons

2012-03-19 Thread Mattias Gaertner
On Mon, 19 Mar 2012 18:14:20 +0100 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Mattias Gaertner schrieb: Is it possible (and if yes, how) to group some radio buttons so that only one of each group can be selected? Use a TRadioGroup or put the radiobuttons on a panel.

Re: [Lazarus] Grouping radio buttons

2012-03-19 Thread Luiz Americo Pereira Camara
On 19/3/2012 13:51, Jürgen Hestermann wrote: I already searched for hours but cannot find anything useful. My question: Is it possible (and if yes, how) to group some radio buttons so that only one of each group can be selected? I put some radio buttons on my form which select different things

Re: [Lazarus] Grouping radio buttons

2012-03-19 Thread Felipe Monteiro de Carvalho
On Mon, Mar 19, 2012 at 9:15 PM, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: In win32 worked fine but could not implement nor in gtk2 or qt due to how native radio buttons are designed in those widgetsets It should be implementable now in TCDRadioButton -- Felipe Monteiro de Carvalho

Re: [Lazarus] Grouping radio buttons

2012-03-19 Thread Hans-Peter Diettrich
Jürgen Hestermann schrieb: A panel seems to be doable but it's still awkward. Now the locations of the radio buttons are located relative to the panel and I have to rearrange them all. I thought that there is some logical grouping that is independend from the visible location but it seems