Home » Developer & Programmer » Forms » Changing radio button programmatically (oracle 9i)
Changing radio button programmatically [message #356689] Sat, 01 November 2008 02:26 Go to next message
white_phoenix
Messages: 19
Registered: November 2007
Junior Member
Hi All,

Is there any way that we can programatically change a radio button default value.


I know for checkbox, we can make the checked box to be checked if we assign value something like this

:datablockA.chkbox := 'Y'


then , it will be checked because of the property value mapping.


Is there any way similiar for radio button other than using the property pallete?

Re: Changing radio button programmatically [message #356725 is a reply to message #356689] Sat, 01 November 2008 07:55 Go to previous messageGo to next message
Frank Naude
Messages: 4581
Registered: April 1998
Senior Member
Hi,

My forms knowledge is a bit rusty, but you should be able to do it at Radio Group level. Try to change the the groups value to the value of one of the radio buttons.

Best regards.

Frank
Re: Changing radio button programmatically [message #356870 is a reply to message #356689] Sun, 02 November 2008 23:03 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you tried your method on a radio_group item?

David
Re: Changing radio button programmatically [message #357313 is a reply to message #356689] Tue, 04 November 2008 19:31 Go to previous message
white_phoenix
Messages: 19
Registered: November 2007
Junior Member
Oh, I got the solution already. Just do the same like checkbox codes, then the radio button will automatically be marked. Thanks anyway Smile
Previous Topic: Serial Port Weighing Scale connect with Oracle Forms 6i
Next Topic: C# dll in Forms
Goto Forum:
  


Current Time: Wed Dec 04 19:52:05 CST 2024