Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.refresh() not updating pages in pageframe.
Message
 
À
18/08/1998 11:39:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125773
Message ID:
00127837
Vues:
44
>Hi Tim ---
>
>>This is what my base PageFrame class does. It keeps a CleanFlag array, and when you select a new page, if it is not clean, it refreshes. PageFrame.REFRES() marks them all dirty and refreshes the activePage. Works nicely.
>
>It'll work a lot nicer in VFP6. In that case, you could just tag a CleanFlag_Assign method to the PageFrame and let the action of setting that flag kick out the refreshes required.

These new Assign methods are going to get really scary really fast when code get obsured behind an = sign. Imagine debuging a code fragment like "this.that = x" when it crashes the system. Or when this.that = y causes your entire interface to dance around and change colors.

I guess that its going to take sane programmers and great documentation to avoid a mess of problems!

Heck, I even avoid programaticly modifing/adding form elements to avoid confusion. :)
If they have you asking the wrong questions,
they don't have to worry about the answers.
-proverbs for paranoids #3
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform