Mapping Properties and Events
Now we will map the properties and events to the right
controls.

Here is a table of the mapping of the properties and events:
| Public Name |
Control |
Member |
| BackColor |
User Control |
BackColor |
| Caption |
Label1 |
Caption |
| Click |
User Control |
Click |
| DblClick |
User Control |
DblClick |
| Font |
Label1 |
Font |
| ForeColor |
Label1 |
ForeColor |
| KeyDown |
User Control |
KeyDown |
| keyPress |
User Control |
keyPress |
| KeyUp |
User Control |
KeyUp |
| MouseDown |
User Control |
MouseDown |
| MouseMove |
User Control |
MouseMove |
| MouseUp |
User Control |
MouseUp |
| ShadowColor |
Label2 |
ForeColor |
| ShadowXDiference |
|
|
| ShadowYDiference |
|
|
Click Next, and then click Finish.
[ Creating a blank User Control ] [ Designing the ShadowLabel control ] [ Loading the ActiveX Ctrl Interface Wizard ] [ Standard Properties ] [ Custom Properties ] [ Mapping Properties and Events ] [ Set Attributes ] [ The Wizard Code ] [ Changes to the Wizard code ] [ The Control ] [ Property Pages Design ] [ Property Pages in Action ] [ Making Our Custom Property Page ] [ The Final Touch! ] [ The End! ]
|