Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does PEMSTATUS Work?!?
Message
De
30/08/2001 08:46:07
 
 
À
29/08/2001 17:03:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00550540
Message ID:
00550798
Vues:
28
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform