Can a RadioGroup have a vertical scrollbar?
I need to have many more items in a RadioGroup than can be shown.
I cannot see a Scrollbar entry in the object inspector in D2007.
If not what VCL component can you recommend?
Regards
Dennis
try to put your radiogroup on a scrollbox.
Dennis Christensen schrieb:
A TComboBox sounds more suitable.
(Style = csDropDownList)
--
Pieter
Thanks
> A TComboBox sounds more suitable.
> (Style = csDropDownList)
I could have been, but I prefer to see as many of the items as possible also
while not selecting.
Regards
Dennis
Thanks
> try to put your radiogroup on a scrollbox.
I tried this and it is ok. It was necessary to fiddle around with the height
and width and top properties of the radiogroup to make it look good.
Have any of you missed a scrollbar property on a radiogroup? I think
everything would be much easier if a TRadioGroup could have scrollbars just
like a TRichEdit.
Regards
Dennis
> But if other people than you are using the application they will probably
> find a scrolling radiogroup somewhat confusing. It's a very unusual
> solution. Dropdown is the normal way to do it.
I understand that and think that I agree with you.
> Another option is to use a listbox with multiselect set to False. Or even
> a checkedlistbox (but that would probably require some tweaking to get
> radiogroup functionality).
I think that is what I want. Will try to expriment with a checkedlistbox.
The problem is that my application can automatically skip through the items
and the user is also allowed to make a selection. It should always be
possible to see which item is selected and I also think it should be
possible to see the complete list.
Regards
Dennis
> Hi Pieter Zijlstra
>>A TComboBox sounds more suitable.
>>(Style = csDropDownList)
>
> I could have been, but I prefer to see as many of the items as possible also
> while not selecting.
But if other people than you are using the application they will
probably find a scrolling radiogroup somewhat confusing. It's a very
unusual solution. Dropdown is the normal way to do it.
Another option is to use a listbox with multiselect set to False. Or
even a checkedlistbox (but that would probably require some tweaking to
get radiogroup functionality).
Kjell
--
---------------------------------------------------------------------------
Kjell Rilbe
Home: +46 8 7610734
Cell: +46 733 442464
---------------------------------------------------------------------------
"If there's a price for bein' me, that's one I'll have to pay"
Aaron Tippin
---------------------------------------------------------------------------