Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread TRadioGroup component
Thu, Feb 22 2018 7:55 AMPermanent Link

Uli Becker

This is a RadioGroup component derived from TControl.

Important Properties:
Items (Stringlist with all RadioButton Captions)
ItemIndex (Selected Index)
Columns (Number of columns)
Background (Client Element)
Padding (Client Element - to adjust the RadioButton's offsets)
SpaceEvenly (Same space for each column)

Important Methods:
OnClick (changing the SelectionState of a RadioButton triggers the OnClick event)

Feel free to use and enhance it (not tested in detail).

Screenshot and sources attached.

Uli



Attachments: Clip1.png TRadioGroup.zip
Thu, Feb 22 2018 3:23 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< This is a RadioGroup component derived from TControl. >>

Nice. SmileAs always, thanks for the contribution !

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Nov 5 2020 11:09 AMPermanent Link

Redge

Avatar

There is Enable and ReadOnly properties missing for this compnent

I have this on a form to display only; and dont want user to modify data

i will try to bloc mouse events; for now

if i have time at some point; will maybe modify the component and add these properties and code

Regent
Tue, Nov 10 2020 2:47 PMPermanent Link

Redge

Avatar

Here is the code for the TRadioGroup control with the new properties



Attachments: RadioGroup.wbs
Tue, Nov 10 2020 2:48 PMPermanent Link

Redge

Avatar

Redge wrote:

image file



Attachments: tradiogroup.png
Wed, Nov 11 2020 5:22 AMPermanent Link

Walter Matte

Tactical Business Corporation

Redge wrote:

Here is the code for the TRadioGroup control with the new properties

Thanks for the udpate and contributing!!

Walter
Wed, Nov 11 2020 5:22 AMPermanent Link

Walter Matte

Tactical Business Corporation

Redge wrote:

Here is the code for the TRadioGroup control with the new properties

Thanks for the udpate and contributing!!

Walter
Image