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. |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Application.SetPageScript
OverviewExamples
Application.SetPageScript ( string PageName,
string EventName,
string Script )
De s cr ip t ion
Sets the script on a page's event.
P arame t er s
PageName
(string) The name of the page whose script you want to set.