Comparable to the class constructor concept more familiar to C++, initialization occurs by default when the first call to a newly-instantiated class's method or property is made. The default constructor, Class_Initialize() is private by default and takes no parameters. These limitations made implementing a separate Initialize() method in all Composite Controls classes necessary. Almost always, an Initialize() call requires a control reference be passed and may be called only once. In some cases, some properties are writable only before initialization.

Last edited Dec 16, 2010 at 3:29 AM by vba_junkie, version 1


No comments yet.