Home » Developer & Programmer » Forms » Vertical and Horizontal Scroll Bar for a block
Vertical and Horizontal Scroll Bar for a block [message #175674] Sun, 04 June 2006 09:59 Go to next message
sultanmasood
Messages: 11
Registered: March 2006
Junior Member
Hi,

Trying to build the Vertical and Horizontal Scroll Bar for a block.
1.Created a content canvas and stacked canvas.
2.Show horizontal scroll bar to yes in stacked canvas.
3.Viewport smaller than the canvas in the stacked canvas.
4.Block properties.
Show scroll bar to yes.
Scroll bar orientation to vertical.
Is there anything missing.
I have attached the form.
  • Attachment: test.fmb
    (Size: 44.00KB, Downloaded 1108 times)
Re: Vertical and Horizontal Scroll Bar for a block [message #175682 is a reply to message #175674] Sun, 04 June 2006 13:28 Go to previous messageGo to next message
Littlefoot
Messages: 20888
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
"kfsh_po_history" data block property:
Scroll bar canvas:
- is: canvas2
- should be: canvas3

Try to change it and see will it be OK.
Re: Vertical and Horizontal Scroll Bar for a block [message #175720 is a reply to message #175682] Mon, 05 June 2006 02:35 Go to previous messageGo to next message
sultanmasood
Messages: 11
Registered: March 2006
Junior Member
Thanks!
Tried to do the same with a Tab canvas instead of content canvas.
The stacked canvas seems to appear in both the tab pages.
How do we associated a particular stacked canvas with a tab page.
Re: Vertical and Horizontal Scroll Bar for a block [message #175762 is a reply to message #175674] Mon, 05 June 2006 04:40 Go to previous messageGo to next message
sultanmasood
Messages: 11
Registered: March 2006
Junior Member
Tried the same for a Tab Page.
The fields are displayed in both the tab pages.
The fields with a scroll bar should be visible only in tab page7 and text_item12 in tab page6.
  • Attachment: test3.fmb
    (Size: 44.00KB, Downloaded 596 times)
Re: Vertical and Horizontal Scroll Bar for a block [message #176382 is a reply to message #175762] Thu, 08 June 2006 02:46 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you solved your problem?

David
Re: Vertical and Horizontal Scroll Bar for a block [message #176845 is a reply to message #175674] Sat, 10 June 2006 02:39 Go to previous messageGo to next message
sultanmasood
Messages: 11
Registered: March 2006
Junior Member
No!
Any suggestions.
Re: Vertical and Horizontal Scroll Bar for a block [message #177288 is a reply to message #176845] Tue, 13 June 2006 19:45 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have a look at http://www.google.com/url?sa=U&start=10&q=http://aiken.isy.vcu.edu/classes/info464/M%26M/chap06.ppt&e=9797

You woulkd appear to need a Content canvas, then the tab canvases on it, and then the stacked canvas. What canvases do you have and in what order?

David
Re: Vertical and Horizontal Scroll Bar for a block [message #180795 is a reply to message #177288] Wed, 05 July 2006 05:19 Go to previous messageGo to next message
sultanmasood
Messages: 11
Registered: March 2006
Junior Member
First is the content->Tab->Stacked

Just need to do this..
Items from TEXT_ITEM9 - TEXT_ITEM18 of BLOCK 8 to be displayed in Tabpage 6

ITEM21- ITEM29 of BLOCK 8 to be displayed in Tabpage 7.
Have a look.
  • Attachment: Tabcanvas.fmb
    (Size: 48.00KB, Downloaded 738 times)
Re: Vertical and Horizontal Scroll Bar for a block [message #327167 is a reply to message #180795] Sat, 14 June 2008 07:43 Go to previous messageGo to next message
mailmearun06
Messages: 7
Registered: June 2008
Junior Member
Hi All,

Hot to achieve this...
Items from TEXT_ITEM9 - TEXT_ITEM18 of BLOCK 8 to be displayed in Tabpage 6

ITEM21- ITEM29 of BLOCK 8 to be displayed in Tabpage 7.

Even in the form which was attached earlier, the first tab and second tab is displaying the same text_items even though there are two stacked canvas for TEXT_ITEM9 - TEXT_ITEM18 and another for ITEM21- ITEM29.

How to show there Text_Item Groups, i.e TEXT_ITEM9 - TEXT_ITEM18 - in tab6 and ITEM21- ITEM29 - in tab7.

All help in this regrads will be much apprecited.

Thanks
Arun
Re: Vertical and Horizontal Scroll Bar for a block [message #327193 is a reply to message #175674] Sat, 14 June 2008 10:47 Go to previous messageGo to next message
Martin Eysackers
Messages: 80
Registered: October 2005
Location: Belgium
Member
ok, so you have multiple canvases
an empty tabcanvas and 2 stacked ones (as those are the only ones with scrollbars)
you will now have to tell forms which stacked canvas you want in a given tabpage so

create a when-tab-page-changed trigger :

if :system.tab_new_page = 'PAGE7' then
	hide_view('CANVAS4');
	go_item('ITEM21');
elsif :system.tab_new_page = 'PAGE6' then
	hide_view('CANVAS5');
	go_item('TEXT_ITEM9');	
end if;  


this should do the trick
Re: Vertical and Horizontal Scroll Bar for a block [message #330907 is a reply to message #180795] Tue, 01 July 2008 14:00 Go to previous messageGo to next message
alice_cool
Messages: 4
Registered: July 2008
Junior Member
Hi I am trying to add a horizontal scroll bar for a tab page in my form, for this I probably have to create a stack canvas over tab canvas, I see you have done the same in the this form, however when I am trying to do this it is not allowing me saying that I can create a stack canvas only on content canvas. How have you done this job in the form you have attached? appreciate your reply


Thanks,
Sharmila
Re: Vertical and Horizontal Scroll Bar for a block [message #337195 is a reply to message #330907] Wed, 30 July 2008 02:30 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you solved your problem?

David
Previous Topic: Web_util Help
Next Topic: Problem in Form 6i to 10g
Goto Forum:
  


Current Time: Sat Dec 03 03:58:11 CST 2016

Total time taken to generate the page: 0.15568 seconds