Jump to content
Czar

Radiogroup - change items text

Recommended Posts

It is not possible to change the text of a radiogroup item

 

e.g.,

 


  W3RadioGroup1.Add('test');
  W3RadioGroup1.items[0] := 'it does not work';

 

as a workaround - I am removing and then inserting

 

Share this post


Link to post
Share on other sites

There are a number of controls that do this ..i.e. have a index (array property) and then a separate  property for the list of controls  (e.g. RadioButtons: TW3RadioGroupItems

in Delphi there is not a string array

it would be something like

items: TW3RadioGroupItems  instead

and there would be no

Items: TStrArray

I am sure there is a reason for this and maybe @jarto can enlighten us

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×