Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pemstatus(0) ???
Message
From
23/10/2008 01:37:50
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
23/10/2008 01:02:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356473
Message ID:
01356480
Views:
26
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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform