Generate code for Property Let / Property Get / Property Set methods of Delegator Object What to use 1. MS Excel worksheet as input / output interface 2. MS Excel VBA macro to generate source code 3. Input parameters Property Name - External name (used as Property Let / Get name) Parent Class - Name of […] ...
Generate code for Property Let / Property Get / Property Set methods What to use 1. MS Excel worksheet as input / output interface 2. MS Excel VBA macro to generate source code 3. Input parameters Property Name - External name (used as Property Let / Get name) Parent Class - Skip. Used in only with […] ...
Continuing previous post, I explore Object-Oriented Programming with VBScript. Now I want to take a closer look at inheritance and practice its workaround, called delegation. Delegator Class example As you can see, ScreenPoint class has Point2D property. When initialized, it refers to Point2D object. Note, that ScreenPoint class does not have X or Y properties, […] ...
As I recently wrote, VBScript supports Object-Oriented Programming. However, we have to get used to certain limitations. Let’s start with an example of a corner stone principle - encapsulation. Class declaration example As you can see, Point2D class I defined, has two private properties. To access the properties outside of the class, I defined a pair […] ...
The story Maybe the story began when I noticed that a status message (a line displaying text at the bottom of the window) looked somewhat unusual. Or maybe when I checked the log file to investigate, and found out that the program reported “______ file updated”. That looked as a typo, or unsupported characters in the […] ...