On Jun 30, 2006, at 10:25 AM, Chuck Pelto wrote:

Greetings,

I'm still a bit disappointed that there is no simpler way to put changed data in a GroupBox of RadioButtons into a database.

If RB can automatically deselect all other RadioButtons in a GroupBox when one of them is selected, it would seem to me that RB should have a simple Property in the GroupBox Controls that would identify which RadioButton is selected. This would give us a one- line call to get that item, as opposed to the multi-line loops that everyone has suggested as the only way to determine which RadioButton is selected.

Until REAL Soft implements such a, I suspect simple, modification I'm considering an alternative.... How does one call a RadioButton Action from another part of an application?

I'm considering daisy-chaining calls to the RadioButtons in a GroupBox so that when on is acted upon, it will have the data for itself changed in the database and then call all the others in the GroupBox to update their status.

So, how would one write the line to call the action?

        rb_no.Action() and self.rb_no.Action()

Don't seem to work.

You don't call events directly
If you want to set a Radio button you set its value and this will trigger the action event

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to