Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Names for pages?
Message
 
 
À
18/11/2004 11:51:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00962687
Message ID:
00962726
Vues:
7
James,

That's because the PageFrame subclass was created with a PageCount != 0.

When you do this it names the pages (although they could be changed there in the subclass), but in further subclasses or instances of the PageFrame on a form you can not change the name. In general you can't alter the names of contained objects because the class itself may have code that refers to those objects by those names.

If you create the PageFrame subclass with 0 pages, then for subclasses or instances you are free to set the PageCount and name the pages as you please.

>Welllll ---
>
>It appears that the two pages that were added automatically when the PageFrame was created are named "Page1" and "Page2", and cannot be changed. That is what I was referring to, not having inspected the third page ....
>
>I added the third page myself, and it does allow me to change the name.
>
>So, it appears that if I had deleted the original pages, then added them back in myself, I would have been OK.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform