+ Reply to Thread
Results 1 to 2 of 2

Properties in a class - can't write to them

  1. #1
    Registered User
    Join Date
    02-09-2007
    Posts
    29

    Properties in a class - can't write to them

    I can’t seem to correctly use a property in a class. Here is my code:


    Please Login or Register  to view this content.

    Next my module:

    Please Login or Register  to view this content.
    The messagebox displays “0”

    What the heck?
    Thanks.
    Last edited by Lazhal; 08-03-2010 at 04:41 PM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Properties in a class - can't write to them

    How and where have you declared pStartingLocation? If the answer is that you haven't, then it's a local variable to each property procedure and its value does not persist between the two. YOu may simpy be missing:
    Please Login or Register  to view this content.
    at the top of the module.
    Remember what the dormouse said
    Feed your head

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1