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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement