on 08-12-2008 3:26 PM
Hi friends,
in my form iam having 2 Push Buttons and 2 Subforms.
when i click on one Button, First subform should be displayed and when i click on the Second Button, another Subfrom should be Displayed.
Can any one Explain how to do this concept.
Sripathi,
Lets say you have 3 Subforms viz Subform0 (containing two buttons Button1 & Button2) and Subform1, Subform2.
On form:ready event of Subform0 have the following code:-
Subform0.presence = "visible";
Subform1.presence = "hidden";
Subform2.presence = "hidden";
On click event of Button1 change the language to JavaScript and add following code:-
xfa.host.messageBox("Button1 Clicked");
Subform1.presence = "visible"
Subform2.presence = "hidden"
Make the subform2 visible by writing similar code on click event for button2.
This is what i could think of or may be some has better solution than me.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.