I'm using class modules for the first time and (pretty much) getting the hang of it, but one thing I can't work out, that not even PED helps me on, is how I set an initial value for any variables declared in a class module.
Without going into too much detail I have an integer property of the object that I'm creating that I would like to make read/write, but I want it to have a non-zero default value. To set it to this initial value do I have to trap the event of a new instance of the object being created and set default values then, or am I missing something stupidly obvious.
Thanks in advance, and merry generic-non-religious-by-festive-time-period to everybody
Bookmarks