Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pemstatus(0) ???
Message
De
23/10/2008 01:37:50
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
23/10/2008 01:02:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356473
Message ID:
01356480
Vues:
25
This message has been marked as a message which has helped to the initial question of the thread.
Changed since the definition in the base class (IOW if a child class alters the prop in its definition it is altered).
Just play around with the definitions:
CLEAR
loA = CREATEOBJECT('myclass')
?PEMSTATUS(loA,'comment',0)
loA.COMMENT = 'mäh'
?PEMSTATUS(loA,'comment',0)
*loa.myprop=0
?PEMSTATUS(loA,'myprop',0)
loA.RESETTODEFAULT('myprop')
?PEMSTATUS(loA,'myprop',0)

DEFINE CLASS myclas AS CUSTOM
*comment = 'muh'
 myprop = .T.
ENDDEFINE

DEFINE CLASS myclass AS myclas
*comment = 'muh'
 myprop = .T.
ENDDEFINE
Agnes
>I have a question about using PEMSTATUS(,,0) ... which is supposed to indicate that a property has changed.
>
>Changed since when?
>
>It seems like all of my custom properties for a form (added using "New Property" -- and not changed thereafter) show up as true. What use is this?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform