VBTrain.Net Documentation

ImagesFolder Property (Graphical Button [File])

Gets or sets the common directory for external image files.

Public Property ImagesFolder() As String (Graphical Button [File])

Description

Use the ImagesFolder property to specify the common directory of the external image files for the GraphicalButtonFile. The ImageUp and other properties are then the name of the image files or a relative path from this directory.

Example

The following example shows how to set the ImagesFolder property.

[Visual Basic]
'Graphical Button [File]
With GraphicalButtonFile1
	.ImagesFolder = "images"
	.ImageUp = "Help Up.jpg"
	.ImageDown = "Help Down.jpg"
	.ImageOver = "Help Over.jpg"
	.ImageDisabled = "Help Disabled.jpg"
End With

See Also

Graphical Button Class | Web Graphical Button Class | Members