Page 1 of 1

Display

PostPosted: 27 Jun 2014 10:33
by etwoss
Hi

First time using TIWCGJQRadioGroupEx

As i can find, ItemIndex is the property to read/set. (whats the "IWCGJQRadioGroupEx1.JQRadioGroupOptionsEx.Index"? can't find documentation).

So this works but i expected the display of the group different than it is.
In the image, itemindex = 1, but in this case i expected item 1 and 3 being an open circle and item2 to be a filled circle, so just the other way around as it is now.


Eric

Re: Display

PostPosted: 27 Jun 2014 18:19
by Jorge Sousa
Hi

(whats the "IWCGJQRadioGroupEx1.JQRadioGroupOptionsEx.Index"? can't find documentation).


.Index is TCollectionItem.Index, you can find in Delphi documentation.

Each Item must have a unique value.

If ItemIndex = 1, Items[0] and Items[2] will be unselected, like in the image

Re: Display

PostPosted: 01 Jul 2014 08:22
by etwoss
Hi

Ok i understand, but do you also think the way the selected item is shown is a bit strange? You would not expect its drawn as an open circle.

Eric

Re: Display

PostPosted: 01 Jul 2014 09:35
by Jorge Sousa
Hi

Then how would you expect? It's a radion button, I wouldn't expect anything else-

Re: Display

PostPosted: 01 Jul 2014 11:27
by etwoss
Same as Windows

Re: Display

PostPosted: 01 Jul 2014 11:49
by Alexander Bulei
Hi etwoss,

It's alright with displaying of radio buttons.
if you want windows style, you should make a new theme.

Best Regards.

Re: Display

PostPosted: 01 Jul 2014 18:46
by assapan
Hi ,
Have you tried the vertical layout ?

Re: Display

PostPosted: 02 Jul 2014 07:41
by etwoss
Yes, same result