Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making A Read-Only Property
Message
From
08/11/2002 00:42:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00719904
Message ID:
00720149
Views:
13
make a protected property, _property
make a property property, property
make an access method for property that reads the _property
make an assign method that generates an error or in vfp 8 throws an exception
in the class refer to _property instead of property

>I created a property on a control.
>
>When I place the control on a form, I want it to be read only.
>
>I tried making it Protected, but then I get an error "Property
>not found"
>
>How do I do this?
Previous
Reply
Map
View

Click here to load this message in the networking platform