See Also Properties Events Methods
Description
A picture box can display a graphic from a bitmap It displays only as much of the graphic as fits into the rectangle that you've drawn with the picture box tool.
Remarks
You can also use a picture box to group option buttons
To make a picture box automatically resize to display an entire graphic, set its AutoSize
To create animation or simulation, you can manipulate the graphics properties and methods in your code. Graphics properties and events are useful for run-time print operations, such as modifying the format of a screen form for printing.
A picture box can also act as a destination
The picture box is the only standard Visual Basic control that you can place in the client area You can use it to group controls at the top or bottom of the client area to create a toolbar or status bar.
Graphics properties are indicated with an asterisk (*).'
Align *FillStyle LinkTimeout *AutoRedraw *FontBold LinkTopic AutoSize *FontItalic MousePointer BackColor *FontName Name BorderStyle *FontSize Parent *ClipControls *FontStrikethru Picture *CurrentX *FontTransparent *ScaleHeight *CurrentY *FontUnderline *ScaleLeft DataField *ForeColor *ScaleMode DataSource hDC *ScaleTop DragIcon Height *ScaleWidth DragMode HelpContextID TabIndex *DrawMode hWnd TabStop *DrawStyle Image Tag *DrawWidth Index Top Enabled Left Visible *FillColor LinkItem Width LinkMode |
Change KeyPress LostFocus Click KeyUp MouseDown DblClick LinkClose MouseMove DragDrop LinkError MouseUp DragOver LinkNotify Paint GotFocus LinkOpen Resize KeyDown |
Graphics methods are indicated with an asterisk (*).
*Circle LinkRequest Refresh *Cls LinkSend *Scale Drag Move SetFocus *Line *Point *TextHeight LinkExecute *Print *TextWidth LinkPoke *PSet ZOrder |
Help:
Data Access
Data Control
Drawing a Control
Programmer's Guide:
Chapter 3, "Creating and Using Controls"
Chapter 15, "Creating Graphics for Applications"