Home » Developer & Programmer » Forms » RADIO BOX DISABLE (FORM 6I)
RADIO BOX DISABLE [message #484544] Wed, 01 December 2010 06:01 Go to next message
cvs_1984
Messages: 136
Registered: August 2007
Location: Punjab, INDIA
Senior Member

HI,

I have a Radio Box Item field in Form, It contain Three Radio Buttons.

During the User Login Some of the users Not Require to Touch Any of the Three Radio. Thus i Require to Disable that Radio Button to That User. How to Disable the Particular Radio Button.

Please help me.

Regards,

C V S.
Re: RADIO BOX DISABLE [message #484547 is a reply to message #484544] Wed, 01 December 2010 06:35 Go to previous messageGo to next message
cookiemonster
Messages: 13937
Registered: September 2008
Location: Rainy Manchester
Senior Member
Go to form builder. Select a radio button in the object navigator. Bring up the property palette. Select the enabled property. Press F1 to bring up form builder help. Click on the item link. Read what it says. click on the correct link for radio buttons, read what that says.

Oracle form builder help is incredibly comprehensive - you'll learn a lot if you actually read it.
Re: RADIO BOX DISABLE [message #484548 is a reply to message #484547] Wed, 01 December 2010 07:17 Go to previous messageGo to next message
ranamirfan
Messages: 535
Registered: January 2006
Location: Pakistan / Saudi Arabia
Senior Member

Dear,

Quote:


Oracle form builder help is incredibly comprehensive - you'll learn a lot if you actually read it.



For more help,pls try it.



IF :UserName='XYZ' then
Set_Item_property('RadioGroupName',Enabled,Property_False);
END IF;



Regards,

Irfan
icon14.gif  Re: RADIO BOX DISABLE [message #484632 is a reply to message #484544] Thu, 02 December 2010 03:31 Go to previous messageGo to next message
infosuresh2k
Messages: 77
Registered: September 2009
Location: CHENNAI, INDIA
Member

Hi,

Use the below code to enable or disable radio button in forms....

IF v_user_yn = 'N' THEN -- MAKE IT DISABLE
SET_RADIO_BUTTON_PROPERTY('CTRL.USER_YN_RB', 'USER_YES', ENABLED, PROPERTY_FALSE);
SET_RADIO_BUTTON_PROPERTY('CTRL.USER_YN_RB', 'USER_NO', ENABLED, PROPERTY_FALSE);
ELSE --- MAKE IT ENABLE
SET_RADIO_BUTTON_PROPERTY('CTRL.USER_YN_RB', 'USER_YES', ENABLED, PROPERTY_TRUE);
SET_RADIO_BUTTON_PROPERTY('CTRL.USER_YN_RB', 'USER_NO', ENABLED, PROPERTY_TRUE);
END IF;


Regards,
Suresh.V

[Updated on: Thu, 02 December 2010 03:32]

Report message to a moderator

Re: RADIO BOX DISABLE [message #508391 is a reply to message #484632] Fri, 20 May 2011 16:37 Go to previous message
Morles le Grand
Messages: 1
Registered: May 2011
Location: Lima
Junior Member
You're the ****ing master! Cool thanks!
Previous Topic: Get_block_Property
Next Topic: key-next-item trigger
Goto Forum:
  


Current Time: Sat Sep 07 15:33:46 CDT 2024