Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread EWB2 Databound RadioButton
Fri, May 15 2015 12:23 AMPermanent Link

Eivind

All

Trying to understand how to use a set of TRadioButton's for an employee rating system. I dropped 6 RadioButtons on a panel. Each with a different ValueSelected property from 0..5. All RadioButtons are bound the the same field in the dataset. The strange thing is that any Radio button with ValueSelected higher than 0 has to be double clicked to be selected. I have attached a short MP4 video to demonstrate this. If I single click, the value in the dataset field is changed, but the radio button is not selected. In the video you can for this test see the value in the dataset in the commend field on the right side.

So my question is. Can a set of Radio Buttons be connected to the same dataset field? If not, it kind of looses it's purpose as a single Radio Button is no good.

Thanks

Eivind



Attachments: IMG.mp4
Fri, May 15 2015 7:41 AMPermanent Link

Kane Jun

EZ-Tech, Inc

Eivind wrote:

All

Trying to understand how to use a set of TRadioButton's for an employee rating system. I dropped 6 RadioButtons on a panel. Each with a different ValueSelected property from 0..5. All RadioButtons are bound the the same field in the dataset. The strange thing is that any Radio button with ValueSelected higher than 0 has to be double clicked to be selected. I have attached a short MP4 video to demonstrate this. If I single click, the value in the dataset field is changed, but the radio button is not selected. In the video you can for this test see the value in the dataset in the commend field on the right side.

So my question is. Can a set of Radio Buttons be connected to the same dataset field? If not, it kind of looses it's purpose as a single Radio Button is no good.

Thanks

Eivind

Did you put all ratio button in a grouppanel or just a panel?

Kane
Fri, May 15 2015 7:57 AMPermanent Link

Eivind

Kane... It's just a TPanel. Should they have been in a TGroupPanel instead?

Eivind
Fri, May 15 2015 8:08 AMPermanent Link

Kane Jun

EZ-Tech, Inc

Eivind wrote:

Kane... It's just a TPanel. Should they have been in a TGroupPanel instead?

Eivind

yes
Fri, May 15 2015 10:11 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Eivind,

Please post any EWB2 issues in the Preview forum, in order to avoid any
confusion.

<< Trying to understand how to use a set of TRadioButton's for an employee
rating system. I dropped 6 RadioButtons on a panel. Each with a different
ValueSelected property from 0..5. All RadioButtons are bound the the same
field in the dataset. The strange thing is that any Radio button with
ValueSelected higher than 0 has to be double clicked to be selected. I have
attached a short MP4 video to demonstrate this. If I single click, the value
in the dataset field is changed, but the radio button is not selected. In
the video you can for this test see the value in the dataset in the commend
field on the right side.

So my question is. Can a set of Radio Buttons be connected to the same
dataset field? If not, it kind of looses it's purpose as a single Radio
Button is no good. >>

Yes, the radio buttons can be connected to the same dataset column.  What
you're seeing is just a bug, and I'll have a fix available shortly.

And yes, you can place radio buttons on *any* container and they will work
correctly.

Tim Young
Elevate Software
www.elevatesoft.com
Image