Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.refresh() not updating pages in pageframe.
Message
 
To
18/08/1998 11:39:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00125773
Message ID:
00127837
Views:
45
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform