Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically add/delete pages on a pageframe
Message
De
30/12/2003 17:20:04
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00862578
Message ID:
00863000
Vues:
14
>>>Ok, now how to change the pageorder to reorder the pages if necessary? There must be a way to do it? You cannot change the pageorder value to a value that is already used by another page and you cannot change it to something higher than the pagecount, so the below doesn't work:
>>
>>What do you mean you can't change the pageorder? I just did it and it just plain worked. I've set the pageorder of page2 to 4, and VFP (7 sp1) set page3.pageorder to 2, page4.pageorder to 3. Pretty much just the same as it does with columns in a grid when you change columnorder.
>
>The use off the pageorder not really clear because the collection index number is not the pageorder number so if you work with the pages collection to access the pages the pages seems not to be in the good order.

It's really unclear the first time you start playing with it, but then you only have to understand that pages() collection has the pages in order of creation ALWAYS, and that the pageorder has nothing to do with it - pageorder is the display order. Since Tracy already has this referenced in an array, sorted by current pageorder, I didn't really mention it, figuring she knew this already.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform