Home » Developer & Programmer » Forms » display a canvas
display a canvas [message #81219] Fri, 24 January 2003 00:42 Go to next message
Tina
Messages: 38
Registered: November 2001
Member
Hi! I have Block A on Canvas A and Block B on Canvas B. Initially, Canvas A should be displayed. When the user double-clicks on the a record, Canvas B is then
displayed. But When I run my form, Canvas B is displayed. How should I go about it?
Thanks!
Re: display a canvas [message #81222 is a reply to message #81219] Fri, 24 January 2003 02:32 Go to previous messageGo to next message
Joyjeet
Messages: 23
Registered: January 2003
Junior Member
It's a very common reqmnt so y can hv the solution readily..

1. You must hv one of the canvasses as Stack canvas (for yr case , the canvas which is to be displayed later should be stack canvas).

2. Built-in Hide_View and show_view is used to hide and show a canvas.

3. For yr case, u hide the canvas during for loading (WHEN-NEW-FORM-INSTANCE trigg. might be handy) which is not supposed to be displayed initially.

4. In the WHEN-MOUSE-DOUBLE-CLICK trigger u use show_view built-in to show the canvas.And Go_Item will help u to navigate to yr desired Item in that canvas.

Hope y can do yr job now...

JD.
Re: display a canvas [message #81226 is a reply to message #81219] Fri, 24 January 2003 02:42 Go to previous message
magnetic
Messages: 324
Registered: January 2003
Senior Member
Block A must be on top of block B
the forms tries to navigate to the first item of the first block.
you also can add go_item('A.item1') in the when_new_form instance trigger.
Previous Topic: Any Help, Its Urgent
Next Topic: Chain of events dont follow ...
Goto Forum:
  


Current Time: Wed Apr 24 17:51:42 CDT 2024