Normal Topic navigation (Read 646 times)
debmckee
Full Member
***
Offline



Posts: 123
Joined: Oct 5th, 2011
navigation
Sep 11th, 2012 at 5:13pm
Print Post Print Post  
Is there a "clean" way to go to different areas on your form?
I want to have one form, with the look of two or three "pages" on it. 
If I use throwfocus (or macros) it goes to that field, but I have to have such a gap between my "pages" so that it looks like a new form.  I don't want to use addwidget as each "page" has a lot of fields on it.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: navigation
Reply #1 - Sep 11th, 2012 at 5:28pm
Print Post Print Post  
If you insert page marker elements between your "pages", the page down key will jump to the first element after the next page marker and the page up key will jump to the last element before the previous page marker.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
debmckee
Full Member
***
Offline



Posts: 123
Joined: Oct 5th, 2011
Re: navigation
Reply #2 - Sep 11th, 2012 at 5:32pm
Print Post Print Post  
Thank you.  That helps!

Second questions, I see a pgdn command.  How does that work?  Can you program in a command button to page down multiple times?
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: navigation
Reply #3 - Sep 11th, 2012 at 5:43pm
Print Post Print Post  
Yes, probably. But don't. That command is deprecated, and only included for Q&A compatibility. If you want "pages" you should probably consider using tab groups instead. They are much more space efficient, typical of user interfaces, better supported (in all programs), allow labeling to indicate the functional grouping of your elements, and may allow your elements, of any particular function group, to be seen together so as to help your users better plan.

  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: navigation
Reply #4 - Sep 11th, 2012 at 9:45pm
Print Post Print Post  
debmckee wrote on Sep 11th, 2012 at 5:13pm:
Is there a "clean" way to go to different areas on your form?
I want to have one form, with the look of two or three "pages" on it.   


debmckee,

Have you played with tab elements? I find it works really great to make a tab element a bit smaller then the size of the screen then make a bunch of tab pages, set the tabs to hidden and then use command buttons with GotoTabPage(LE#, #) and  forceredraw()  somewhere convenient above the element. 

This gives you 1 form with as many pages as you like and a 1 touch method of getting to any page or section easily.

You can put tab pages within tab pages and really place the user where they need to be without much programming or effort.

Just a thought.
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
debmckee
Full Member
***
Offline



Posts: 123
Joined: Oct 5th, 2011
Re: navigation
Reply #5 - Oct 4th, 2012 at 4:19pm
Print Post Print Post  
Great idea!  Was using macros and they got all messed up.

Changed everything over to large tabs that look like form pages.  No one knows the difference....
  
Back to top
 
IP Logged