Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Onform form???
Message
From
24/04/2008 22:38:40
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
24/04/2008 20:48:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01313030
Message ID:
01313056
Views:
13
>Why not use a progress bar?
>
>>I'm not sure if this is possible, so I would like some advice. The best example of what I'm trying to do is found mostly on websites. Currenlty I have a form with a pageframe. The pageframe has about 12 tabs. I currently have the tabs hidden, and simply use a "Next" and "Previous" button at the bottom of my form to navigate between the tabs. The tabs represent a step-by-step process, they are hidden out of sight by positioning them outside the boundry of my form. I want to place some sort of class object at the bottom of my form that uses a horizontal scroll bar. On that object I'm going to place a graphical representation of each tab from left to right. This will be "my" way of allowing a user to click on a step they already completed. It's also a way to see what step they are on.
>>
>>I've never tried to place a "form" on a "form" , I'm not sure if it's possible. I haven't done any research on this yet. I thought I would start by creating this post. In the meantime I will be trying to find a solution.

[ooops... sorry Craig, this was for the originator]

You may just line up a container full of images or simple command buttons, or anything that would change value proportionally to the how far from its left edge it was clicked - a scrollbar or some such control, there should be those in downloads here - which would have numeric values, 1 to n for each notch it has. Any change in the notches, you jump to the corresponding page, something like .interactivechange() of it:
dodefault()
thisform.pageframe.activepage=this.value
Even commandbuttongroup would do this... optionbutton too (but make them graphical)... well, there are nice activeXes out there as well.

This container should be either outside (below, preferably) your pageframe, or over it but on top of it in Z-order, so it wouldn't be behind it. You may need more code to partially enable/disable positions on it where a click may apply or not, since this is a wizard type form and you can't let your user jump to page 8 from page2 - they still have to complete 3, 4, .. 7, but they should be free to revisit any random page they've already visited.

BTW, you don't have to hide the tabs on your pageframe - just set .tabs=.f. in the property sheet.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform