>I have a six-form page frame. Some forms require that prior pages be completed first. Is there a way to hide inaccessable pages? I don't want to put a method in a form init event to show a messagebox to the user saying other pages must be completed first. Rather I need to hide (or create the impression of hiding) the inaccessable pages.
>
>I could create layers of page frames (or maybe not), but this is so complicated that it is smarter/faster to avoid page frames altogether.
>
>Is there a way to mimic the look of page frames with sound programming? I used an alternative method with command buttons in another VFP6 application avoiding page frames.
>
>Is there an enhanced third-party product that gives developers more control over page frames?
>
>The Twin Cities VFP Users Group members advise me not to use page frames unless absolutely necessary. I guess they are right, but I don't listen when my wife gives me directions while driving either.
>Live and learn...
You could remove the tabs on the pageframe (with the TABS property). Then on each page of the pageframe have a "Next" button then sets the focus to the next page. Example:
The "next" button on page 1 would have...
thisform.pageframe1.page2.setfocus
... and so on.
Is that what you were looking for?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement