Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug With AddProperty?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Bug With AddProperty?
Miscellaneous
Thread ID:
01163773
Message ID:
01163773
Views:
46
If you hide the add property method on a class, then the ADDPROPERTY function
won't add a property to the class:
oRecord = CREATEOBJECT('RecordBase')

ADDPROPERTY(oRecord, 'LastName', 'Smith')

RETURN




DEFINE CLASS RecordBase AS Session

  HIDDEN addproperty	&& This causes the ADDPROPERTY function above to fail
		
ENDDEFINE
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform