Home » Developer & Programmer » Forms » How to hide canvas?
How to hide canvas? [message #84127] Mon, 02 February 2004 21:46 Go to next message
annie
Messages: 30
Registered: March 2000
Member
hi

supposse i have to canvases, A and B. when i'm in canvas A, i click on a push-button to go to canvas B. the problem is, how can i hide canvas A when i'm in canvas B.

thank you 4 ur reply
Re: How to hide canvas? [message #84128 is a reply to message #84127] Tue, 03 February 2004 01:17 Go to previous messageGo to next message
magnetic
Messages: 324
Registered: January 2003
Senior Member
hide_view("canvasname");
Re: How to hide canvas? [message #84131 is a reply to message #84128] Tue, 03 February 2004 14:03 Go to previous messageGo to next message
annie
Messages: 30
Registered: March 2000
Member
thanks for ur reply. i've tried it but is not what i want. the coding only cleared the contents of the canvas but not hiding it.

the two canvas A and B are created in a way tat both size are different. when i go from A to B or B to A, the back canvas still appear. wat's the solution??
Re: How to hide canvas? [message #84140 is a reply to message #84131] Wed, 04 February 2004 09:38 Go to previous messageGo to next message
magnetic
Messages: 324
Registered: January 2003
Senior Member
when you navigate to the other canvas, you should focus on a item on that canvas otherwise the other canvas wont hide:
show_canvas('B');
go_item('block.itemname');
hide_view('A');
Re: How to hide canvas? [message #84152 is a reply to message #84127] Fri, 06 February 2004 22:52 Go to previous message
sathya
Messages: 27
Registered: December 2000
Junior Member
I hope u have attached each canvas to each different window.

now u try by writing
HIDE_WINDOW('WINDOW_NAME');
Previous Topic: http listener error while running forms
Next Topic: printing parameter value on graph
Goto Forum:
  


Current Time: Fri Apr 19 03:53:41 CDT 2024