Solved

Regarding Radion Buttions in Developer-2000.

Posted on 2002-03-26
5
1,069 Views
Last Modified: 2007-12-19
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?

0
Comment
Question by:np_bhatia
  • 2
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
Helena Marková earned 50 total points
Comment Utility
I think that this would help:

set_radio_button_property('RBG', 'RB1', enabled, property_true);

Set_Item_Property('RBG',INSERT_ALLOWED,PROPERTY_TRUE);
Set_Item_Property('RBG',UPDATE_ALLOWED,PROPERTY_TRUE);
0
 
LVL 4

Expert Comment

by:jtrifts
Comment Utility
Hi np_bhatia,

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('RBG', 'RB1', enabled, property_false)

you also are setting

Set_Item_Property('RBG',INSERT_ALLOWED,PROPERTY_FALSE);
Set_Item_Property('RBG',UPDATE_ALLOWED,PROPERTY_FALSE);
Set_Item_Property('RBG',NAVIGABLE,PROPERTY_FALSE);

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
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
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 **
0
 
LVL 22

Expert Comment

by:Helena Marková
Comment Utility
I think that both answers are good.
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
Force accepted

** Mindphaser - Community Support Moderator **

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to recover a database from a user managed backup

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now