Control Plus (CtlPlus.vbp)

CtlPlus demonstrates a number of features of Visual Basic-authored ActiveX Controls.

This is an expanded version of the project developed in the step-by-step procedures in  "Creating an ActiveX Control," in Creating ActiveX Components. For more information control creation, see "Building ActiveX Controls," in Creating ActiveX Components.

File Description
CtlPlus.vbg The program group.
CtlPlus.vbp The control component project.
CPShapeL.ctl The ShapeLabel control.
CPSLGen.pag The General property page tab for ShapeLabel.
TestCtlP The test program.
TCPForm1.frm The test form for displaying ShapeLabel.

To Run

From the Visual Basic File menu, choose Open Project and select the program group, CtlPlus.vbg file, which is listed in the Samples directory.

Open Form1 in TestCtlP, to view the design-time behavior of ShapeLabel.

Press CTRL+F5 or choose Start With Full Compile from the Run menu to run the program group, and view the control's run-time behavior.