Home » Developer & Programmer » Forms » finding the names of radio buttons if the name of radiogroup given
finding the names of radio buttons if the name of radiogroup given [message #311631] Sat, 05 April 2008 04:03 Go to next message
syamthampiv
Messages: 16
Registered: November 2007
Junior Member
hi everybody..

i have a procedure in form, that will receive the names of block as parameters. With that block names i will go through each item in the blocks and take their names then set its prompt property. In text item, check box and list values i can set it easily using the set_item_property. but for radio i will get only radiogroup name.but prompt property is for the individual radio buttons. if we have the name of a radio group, is it possible to find the names of the radio buttons in that particular radio groups ?

please help me..
thanks in advance....
Re: finding the names of radio buttons if the name of radiogroup given [message #311692 is a reply to message #311631] Sat, 05 April 2008 15:07 Go to previous messageGo to next message
solisdeveloper
Messages: 48
Registered: March 2008
Location: Mexico
Member
Hum...
Ok let me see if I understood your problem. You're triying to set the prompt property of each Radio Button at Run-Time. Is that correct?

If so...have you tried the SET_RADIO_BUTTON_PROPERTY Built-In to set the Prompt Property?

Hope this is what you are looking for and that it actually helps.
Regards
Re: finding the names of radio buttons if the name of radiogroup given [message #311813 is a reply to message #311692] Sun, 06 April 2008 23:36 Go to previous messageGo to next message
syamthampiv
Messages: 16
Registered: November 2007
Junior Member
ok dear friend ..let me explain a bit more..actually i m trying to write a pll in which i write a procedure, that will receive block names in a form as parameters. in this procedure with the name of the blocks that received as parameter i loop through the individual items in the block and set their property.i m using get_item_property(itemname,nextitem); to get the name of next item.

now come to my problem..
set_radio_button_property(itemname,buttonname,property,value);
this is the syntax of it ..so itemname is the radiogroup name and buttonname is the name of buttons in that group..

my problem is when i go through the items in the block i will get the names of items and in the case of radio i will get the name of the radiogroup not the individual radio buttons.so my question is whether there is any means to get the names of the radio buttons if the name of the radio group is known ?
Re: finding the names of radio buttons if the name of radiogroup given [message #312058 is a reply to message #311813] Mon, 07 April 2008 21:13 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
I believe that you are correct is your summation that you can't find the next radio button name. I suggest having a look at what 'Forms*Tool shows for this type of item.

David
Previous Topic: how to open word file in forms 10gas
Next Topic: how to enable gridlines in a excel file
Goto Forum:
  


Current Time: Tue Dec 06 08:21:08 CST 2016

Total time taken to generate the page: 0.09816 seconds