Home » Developer & Programmer » Forms » option button
option button [message #157292] Wed, 01 February 2006 07:48 Go to next message
eswaries
Messages: 41
Registered: January 2006
Member
I am using forms 6i.i have three option buttons.when i click the
option button1 it call one form. when i click another option button
it will call another form.for this what is the coding and in which trigger i write this code.and what are the option button properties that i have to change.
Re: option button [message #157310 is a reply to message #157292] Wed, 01 February 2006 08:38 Go to previous message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Please confirm:
  1. You are referring to a radio group
  2. Depending on the radio button you chose you want another form to be opened
  3. You created a push button to invoke the other Form.
  4. You have checked forms help on calling/opening other Forms


In the WHEN-BUTTON-PRESSED trigger, you open/call the Form as Forms help has explained to you. The Forms name is dynamic. The easiest is to make the radio buttons 'value' property equal to the form linked to that radio button. You just do something like:
Begin
 Open_Form(:yourblock.your_radio_group);
End;
Of course, the other parameters of the OPEN_FORM call are up to you.

MHE
Previous Topic: exe
Next Topic: send excel mail
Goto Forum:
  


Current Time: Fri Sep 20 05:30:37 CDT 2024