Setup Factory 10

DlgBillboard.FillFromFolder

DlgBillboard.FillFromFolder

Previous topic Next topic  

DlgBillboard.FillFromFolder

Previous topic Next topic  

OverviewExamples

DlgBillboard.FillFromFolder (

number ControlID,

string FolderPath,

boolean EmptyFirst = false,

boolean Recurse = false )

Description

Fills a billboard control's images from a folder.

Parameters

ControlID

(number) The numeric ID of the billboard control.

FolderPath

(string) The folder containing images to add to the billboard control.

Note: The following image formats are looked for when adding images in the billboard control: JPG, BMP, TIFF, GIF, PNG, PCX, and TGA. If you require alpha transparency, use 32-bit .PNG format.

EmptyFirst

(boolean) Whether the billboard control should be emptied first:

VALUE

DESCRIPTION

true

Empty the billboard control before adding images.

false

Don't empty the billboard control. (Default)

Recurse

(boolean) Whether to recurse into subfolders when adding images:

VALUE

DESCRIPTION

true

Recurse into subfolders when adding images.

false

Don't recurse. Just add from the folder's root. (Default)

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - Setup Factory - Buy Now - Contact Us