Tutorials > VSPrinter Tutorial - Calendar > Step 1: Create the form |
Start a new VB project, then add the following controls to the main form:
A ComponentOne VSPrinter control (from VSPrint8.OCX).
Four command buttons.
Set the Nameproperty of the controls to the following:
VSPrinter control to vp.
Command buttons to cmdPrev, cmdNext, cmdPrint, and cmdHTML.
Set the Caption property of the command buttons to the following:
<<
>>
View &HTML
Set the form's Caption property to "VSPrinter Calendar".
Align the command buttons along the top of the form and size the vp control so that it fills the remaining portion of the form. Your form should look like this: