Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RadioGroup Scrollbar

589 views
Skip to first unread message

Dennis Christensen

unread,
Aug 4, 2008, 8:36:06 AM8/4/08
to
Hi

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


Gerhard Zampich

unread,
Aug 4, 2008, 10:18:05 AM8/4/08
to
Hi Dennis,

try to put your radiogroup on a scrollbox.

Dennis Christensen schrieb:

Pieter Zijlstra

unread,
Aug 4, 2008, 3:58:26 PM8/4/08
to
Dennis Christensen wrote:

A TComboBox sounds more suitable.
(Style = csDropDownList)

--
Pieter

Dennis Christensen

unread,
Aug 5, 2008, 2:35:08 AM8/5/08
to
Hi Pieter Zijlstra

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


Dennis Christensen

unread,
Aug 5, 2008, 3:27:22 AM8/5/08
to
Hi Gerhard Zampich

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


Dennis Christensen

unread,
Aug 5, 2008, 7:32:36 AM8/5/08
to
Hi Kjell Rilbe

> 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


Kjell Rilbe

unread,
Aug 5, 2008, 7:17:07 AM8/5/08
to
Dennis Christensen wrote:

> 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
---------------------------------------------------------------------------

0 new messages