Home » Developer & Programmer » Forms » How can I make two Canvas in one Window ?
icon5.gif  How can I make two Canvas in one Window ? [message #283635] Tue, 27 November 2007 15:42 Go to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

I want in the main window ( that is only window in the module ) press button to appear another canvas.

but that I can't make it , I just made two window until the another window appear.

that's all

I tried with :-

show_view('canvas_name');

but didn't work with me Sad

the another canvas made it stacked Canvas .... but also didn't work Sad

so please , How can I make two Canvas in one Window only ?

and thanks in advance
Re: How can I make two Canvas in one Window ? [message #283671 is a reply to message #283635] Tue, 27 November 2007 22:46 Go to previous messageGo to next message
hamidmahmood
Messages: 30
Registered: August 2006
Member
dear

use this code in button press trgger

go_block('dept');
execute_query ; use if u want to see data


hamid
Re: How can I make two Canvas in one Window ? [message #283714 is a reply to message #283635] Wed, 28 November 2007 00:39 Go to previous messageGo to next message
kommerashashi
Messages: 23
Registered: November 2007
Junior Member
hi boss u can ....make the 2 canvas in 1 window....thorgh tab button or else creating 2 canvases...and create 1 push butto in that u have to write the code ......like


show_view('canvas name');
go_block(block_name');
execute_query;

for HIDE button u have to write...


hide_view('canvas_name');

Re: How can I make two Canvas in one Window ? [message #283790 is a reply to message #283635] Wed, 28 November 2007 02:53 Go to previous messageGo to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

OKay it's work with me ....... but
that not exactly what I want ...... I want the stacked canvas appear like second window , and could control on it like window .... it could be possible ????
Re: How can I make two Canvas in one Window ? [message #283801 is a reply to message #283635] Wed, 28 November 2007 03:16 Go to previous messageGo to next message
hamidmahmood
Messages: 30
Registered: August 2006
Member
check this now
Re: How can I make two Canvas in one Window ? [message #283915 is a reply to message #283801] Wed, 28 November 2007 07:09 Go to previous messageGo to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

I said ONE Window not two ....... read my thread carefully , and thanks anyway .
Re: How can I make two Canvas in one Window ? [message #288335 is a reply to message #283790] Mon, 17 December 2007 02:19 Go to previous messageGo to next message
kommerashashi
Messages: 23
Registered: November 2007
Junior Member
hi ,

Yes u can create a stacked canvas in one window but the thing is that ...when u run the normal cqanvas the stacked canvas will not appear ...for that u have to create Hide push button... in that u have to write the code like


hide_view('stack canvas');
Re: How can I make two Canvas in one Window ? [message #289136 is a reply to message #283915] Wed, 19 December 2007 19:01 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Hany,

Have you solved your problem?

David
Previous Topic: not dispalying the icons while running
Next Topic: how to run the form in the Web environment
Goto Forum:
  


Current Time: Mon Feb 03 00:51:05 CST 2025