Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does PEMSTATUS Work?!?
Message
From
30/08/2001 08:46:07
 
 
To
29/08/2001 17:03:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00550540
Message ID:
00550798
Views:
29
Jim -

>This looks like a bug to me.

OK

>I passed it up the line. BTW, I see the same thing back to VFP5, so it's not something new that popped up in VFP7.

I did some investigating of our code, and you're right: It has been a bug all along.

It turns out that we were checking objects to see if they had an OBJECTS property, then analyzing the contained objects.

*****************
SET BUG REPORT ON

What *HAS* changed is that PEMSTATUS(thisform.pageframe1, 'objects', 5) used to report .F., but now reports .T.!

Steps to reproduce:
1. Create a baseclass form
2. Add a baseclass pageframe to the form
3. Add a baseclass command button to the form
4. Add the following code to the CLICK method of the button:

WAIT WINDOW IIF(PEMSTATUS(thisform.pageframe1, 'objects', 5), 'YES', 'NO')

5. Run the form and Click the Button

Observed behavior in VFP6 (and earlier):
Wait Window says: NO

Observed behavior in VFP7:
Wait Window says: YES

Expected behavior in VFP7:
Wait Window should say: NO

Please note that in either VFP6 or VFP7, the properties window at design-time does not have an OBJECTS property for a PAGEFRAME.


SET BUG REPORT OFF
******************

So, could you please Pass that one Up The Line?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform