|
-
Jan 9th, 2007, 05:09 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Read-Only Class Property
good evening, everyone.
i would like to ask if it is possible to have a property inside a class that is only readable, and not writeable?
i just want my class to have properties that can be viewed and read by forms, but not have them be able to change the value of the class's property.
i hope some of you guys can help. i'd really appreciate it. thanks!
Last edited by dev.rogee; Jan 10th, 2007 at 02:19 AM.
-
Jan 9th, 2007, 05:57 AM
#2
Re: Read-Only Class Property
Sure, just create the Property Get (not the Set/Let).
If you want further details/examples, see this FAQ thread.
-
Jan 9th, 2007, 06:44 AM
#3
Thread Starter
Addicted Member
Re: Read-Only Class Property
oh... okay.
thank you very much. i'll try it out now...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|