Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 canvases on one window

Status
Not open for further replies.

puredesi5

Programmer
Sep 26, 2001
50
US
How would I show two canvasses on one window. I created three canvasses(c1, c2, & c3) , and 2 windows(w1 & w2). On canvas property for c1 & c2, I put W1 to see them together. When I run it, it doesn't work, It shows me C1 first, then I hit ctrl-pg dwn, it goes to c2 and then to c3. What am I doing wrong??
 
Make C2 a stacked canvas and C1 large enough to contain both. In the forms designer open C1 then go to Tools->Stacked Views and select C2 from the list. Then move C2 around until it it in the desired position on C1.

In your WHEN-NEW-FORM-INSTANCE trigger, do a SHOW_VIEW('C1');
 
Thamks lewisp,

That worked, but what if my C1 canvas was horizontal tab and I wanted to show C1 and C2 together. I can not choose stacked and horizontal tab for same canvas.
 
You will need three canvases, one for the tab then C1 and C2 become stacked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top