Application.SetPageProperties

Application.SetPageProperties ( 

string  PageName,

table   Properties )

Description

Sets the properties of a page.

Parameters

PageName

(string) The name of the page whose properties you want to modify.

Properties

(table) A table containing the properties you want to modify, indexed by name.

KEY

TYPE

DESCRIPTION

UseCustomSettings

boolean

True if the page background should use custom colors or false if the default background color for windows applications should be used.
Note: If you skin your application, the default color will come from your skin file.

BackgroundType

number

The type of background: BG_SOLID (0), BG_GRADIENT (1), BG_IMAGE (2)

GradientColorTop

number

The numeric value of the gradient top color. Only applicable if BackgroundType = BG_GRADIENT.

BackgroundColor

number

The numeric value of the background color.

ImageFilename

string

The full (or relative to resource folder) path and filename of the image file to be used for the background image if BackgroundType = BG_IMAGE.

ImageStretchMode

number

The type of image stretching to be performed if BackgroundType = BG_IMAGE. Choose from BG_IMAGE_FITPAGE (0), BG_IMAGE_TILE (1), BG_IMAGE_ACTUALSIZE (2).

Description

string

The page's description value.

Keywords

table

A one-based numerically indexed list of keywords for the page.

Returns

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

See also:  Related Actions