np_bhatia
asked on
Regarding Radion Buttions in Developer-2000.
In Developer-2000, I want to disable/enable a radio button dynamically.
I am trying to do this in table type form(Form having multiple records and each record has a radio group comprising 2 radio buttons.
I am able to disable a radio button dynamically using command -
set_radio_button_property( 'RBG', 'RB1', enabled, property_false)
where RBG is radiobutton group, RB1 is Radio Button i want to disable.
But when i try to enable the same button, that i have disabled earlier,
button is not enabled. I use following command to enable it -
set_radio_button_property( 'RBG', 'RB1', enabled, property_true)
Is there any way to do this?
I am trying to do this in table type form(Form having multiple records and each record has a radio group comprising 2 radio buttons.
I am able to disable a radio button dynamically using command -
set_radio_button_property(
where RBG is radiobutton group, RB1 is Radio Button i want to disable.
But when i try to enable the same button, that i have disabled earlier,
button is not enabled. I use following command to enable it -
set_radio_button_property(
Is there any way to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please update and finalize this old, open question. Please:
1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.
EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.
Thanks,
** Mindphaser - Community Support Moderator **
1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.
EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.
Thanks,
** Mindphaser - Community Support Moderator **
I think that both answers are good.
Force accepted
** Mindphaser - Community Support Moderator **
** Mindphaser - Community Support Moderator **
What Henka is demonstrating is that when you disable an item, you get other *free* behaviour along with it.
Thus when you execute:
set_radio_button_property(
you also are setting
Set_Item_Property('RBG',IN
Set_Item_Property('RBG',UP
Set_Item_Property('RBG',NA
So when you decide to set it back to enabled, you must remember to reset INSERT and UPDATE (if you desire) and also NAVIGABLE.
Regards,
JT