Results 1 to 26 of 26

Thread: *RESOLVED* Property Get and Let in a class module

Threaded View

  1. #1

    Thread Starter
    Addicted Member A.P.Gumby's Avatar
    Join Date
    Oct 2005
    Location
    Outside the assylum
    Posts
    147

    Resolved *RESOLVED* Property Get and Let in a class module

    Hi,

    Apologies up front if my use of terminology is incorrect but ...

    It is my understanding that when you declare properties in a class module you use Property Get (to read values) and Property Let (to write values) if the property is a standard variable type (boolean, integer etc).

    However, if the class member is an object (e.g. another class) you just use Get to both read and write.

    My question is how do you know whether the object class member is being accessed for read or write from within the Property Get code?

    Any help, as always, greatly appreciated.
    Last edited by A.P.Gumby; Sep 14th, 2006 at 05:54 AM. Reason: Resolved
    Using Visual Studio 2008.
    I am not young enough to know everything - Oscar Wilde

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width