OverviewExamples
DlgBillboard.SetProperties ( |
Sets the properties of a billboard control on the current screen.
(number) The numeric ID of the billboard control.
(table) A table containing the billboard control's properties indexed by the following keys:
KEY |
TYPE |
DESCRIPTION | ||||||||||||
ImageFiles |
table |
A numerically indexed table containing the paths to the image files to use in the billboard control. Any existing images in the control will be cleared before adding these. | ||||||||||||
BackgroundStyle |
number |
The style of the background to use, defined by one of the following values:
| ||||||||||||
BackgroundColor |
number |
The background color to use in the control. | ||||||||||||
BorderStyle |
number |
The border style to use defined by one of the following values:
| ||||||||||||
BorderColor |
number |
The border color to use in the control. | ||||||||||||
Interval |
number |
The duration to show each image (in milliseconds). | ||||||||||||
AutoStart |
boolean |
True to have the billboard control start automatically, false to not. | ||||||||||||
ResizeMode |
number |
The resize mode to use for the images defined by one of the following values:
| ||||||||||||
NoEnlarge |
boolean |
True to center the image if it is smaller than the control dimensions when ResizeMode = PROPORTIONAL, false to resize it proportionally to fit the control. | ||||||||||||
Loop |
boolean |
True if the billboard control should begin playing from the beginning again whenever it reaches the end, or false if it should not. | ||||||||||||
Shuffle |
boolean |
True if the images should play in random order, false if they should play in the order defined at design-time. | ||||||||||||
Transitions |
boolean |
True if a transition effect should be shown between images, false if it should not. | ||||||||||||
Enabled |
boolean |
True if the billboard control should be enabled, false if it should not be. | ||||||||||||
Visible |
boolean |
True if the billboard control should be visible, false if it should not be. | ||||||||||||
X |
number |
The horizontal position (in pixels) of the top left corner of the billboard control in relation to the current screen. Note: The top left corner of the current screen has an X value of 0. | ||||||||||||
Y |
number |
The vertical position (in pixels) of the top left corner of the billboard control in relation to the current screen. Note: The top left corner of the current screen has a Y value of 0. | ||||||||||||
Width |
number |
The width (in pixels) of the control. | ||||||||||||
Height |
number |
The height (in pixels) of the control. |
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions