Home » Developer & Programmer » Forms » Scroll Bar in Tab Type Canvas (Forms 6i)
Scroll Bar in Tab Type Canvas [message #385193] Sat, 07 February 2009 04:10 Go to next message
mm_kanish05
Messages: 493
Registered: January 2007
Location: Chennai
Senior Member

I have created a form with Tab Type Canvas having 4 tabs. In one of the Tab Page the length is beyond the screen limits. I would like to provide a Horizontal Scroll Bar for this tab so that the user is able to see the data of the entire row. Is it possible ? If yes, how do I go about ?

KANISH
Re: Scroll Bar in Tab Type Canvas [message #385211 is a reply to message #385193] Sat, 07 February 2009 11:37 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As far as I can tell, you should create a stacked canvas (as it can have a horizontal scrollbar), place it onto the tab page and put some (or all) items onto the stacked canvas.

Here's an example:

/forum/fa/5698/0/

All items belong to the same data block; the only difference is that some are on the tab page, while the others ("Poslovi", "Telefon" and a few that are not visible, but you could reach them by scrolling to the right) are on a stacked canvas.

"Datum ..." items are placed onto the content canvas.

So, the design is as follows:
- content canvas; on its bottom is a
- tab canvas; one of the tab pages has a
- stacked canvas displayed on its right side.
Re: Scroll Bar in Tab Type Canvas [message #385334 is a reply to message #385193] Mon, 09 February 2009 02:53 Go to previous messageGo to next message
mm_kanish05
Messages: 493
Registered: January 2007
Location: Chennai
Senior Member

Hi

I have understood the concept. But I have already created a tab canvas with 4 tabs.
1. Is it possible to create a content canvas and place the tab canvas on top of it ?
2. Can I convert one of the existing tabs as stacked canvas and get the desired result.
4. Is there a limitation that the stacked canvas should be the topmost canvast ?
5. If all the above cannot be done, is it necessary to recreate the form from the scratch.

kanish

Re: Scroll Bar in Tab Type Canvas [message #385339 is a reply to message #385334] Mon, 09 February 2009 03:13 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
1. Yes, that's what I have done in the sample form screenshot.
2. No, as far as I can tell
3. No; it doesn't have to be visible at all - display it when needed.
4. I don't know; it's up to you.
Re: Scroll Bar in Tab Type Canvas [message #385358 is a reply to message #385193] Mon, 09 February 2009 04:31 Go to previous messageGo to next message
mm_kanish05
Messages: 493
Registered: January 2007
Location: Chennai
Senior Member

for 1st question replay, you said yes

Either i can see any one of canvas only (tabcan,contantcan), how to view both at the same window at runtime.

kanish
Re: Scroll Bar in Tab Type Canvas [message #385407 is a reply to message #385358] Mon, 09 February 2009 07:38 Go to previous message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Content canvas is a "main" canvas.

Place tab canvas onto it by specifying its Viewport properties.
Previous Topic: Opening a window
Next Topic: Can we open 2 session simultaneously(Oracle Forms 10g)
Goto Forum:
  


Current Time: Mon Feb 03 18:14:14 CST 2025