Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting up a page frame
Message
De
31/07/2001 18:08:20
 
 
À
31/07/2001 17:47:38
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00538063
Message ID:
00538072
Vues:
14
The correct answer is #3.

you can look at each page of a pageframe of a separate (but related) form.

Since you already have one of the forms you would like to have on a page of a pageframe, you might well save considerable time by:

1) Opening that form in the Form Designer.
2) Opening a new form with the Form Designer and placing your pageframe and page(s)on it.
3) Select all objects on the existing form (#1 above) and copy to the clipboard.
4) Now move to the new form, ensure that the page of the pageframe is selected, then paste. All of the controls from the first form will end up in the page along with any attached code.
5) But you will still have to take care of any FORM method code you had in the original form as well as revising any references in the pasted methods to properly refer to the newly introduced pageframe/page container hierarchy. For instance, something that previously said THISFORM.xxxxx will now have to resolve to THISFORM.PgF1.Page01.xxxxx.

good luck,

JimN

>I have a form I have developed and I want to make it part of a page frame so I can have the user switch between forms using the tabs along the top. What is the best approach for developing such a form?
>
>1) Create separate forms until they work independently and then combine them into one
>
>or
>
>2) Add the page frame control, move the existing form controls to the first page and then add new pages and work on them as part of the page frame
>
>or
>
>3) some other approach
>
>Thanks in advance from a VFP newbie.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform