How can we call different canvases within one window?
30 pts.
0
Q:
How can we call different canvases within one window?
i want to design a form with three canvases. but problem is occur that other two canvases are not shown at run time. i want to create a push button and when i press it then 2nd canvas must be open.
ASKED: May 14 2009  5:51 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
29795 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
You could use the go_item built-in('item_name') procedure.

Put a call to the go_item procedure in the when-button-pressed trigger of the 'add new departament' button, using some item in the 2nd canvas as argument; then in the same trigger of the 'save' button, do the same using one item from the first canvas as argument.

-CarlosDL

------------------------------------

Why don't you use show_view('canvasname'); and display your canvas accordingly.
Rashid
Last Answered: May 15 2009  1:44 PM GMT by Carlosdl   29795 pts.
Latest Contributors: Superad   35 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Carlosdl   29795 pts.  |   May 14 2009  3:20PM GMT

Could you please provide more information ?

What type of canvases are you usging ? How are they positioned within the window ?

When you press the button, do you want the 2nd canvas to show in the same position as the first one ?

 

Bina   30 pts.  |   May 15 2009  3:33AM GMT

both canvas type are content. i have an product Information form that contains department id as filed. but i want to add new department at run time by pressing button. and i want to open another canvas on this product canvsas. user add new department and when click on save button then it department canvas must be invisible. and user can add other data in product information.

 
0