OverviewExamples
Page.CreateObject ( |
Creates an object on the current page.
(number) The type of object to create:
CONSTANT |
VALUE |
DESCRIPTION |
OBJECT_BUTTON |
0 |
Button object. |
OBJECT_LABEL |
1 |
Label object. |
OBJECT_PARAGRAPH |
2 |
Paragraph object. |
OBJECT_IMAGE |
3 |
Image object. |
OBJECT_FLASH |
4 |
Flash object. |
OBJECT_VIDEO |
5 |
Video object. |
OBJECT_WEB |
6 |
Web object. |
OBJECT_INPUT |
7 |
Input object. |
OBJECT_HOTSPOT |
8 |
Hotspot object. |
OBJECT_LISTBOX |
9 |
Listbox object. |
OBJECT_COMBOBOX |
10 |
Combobox object. |
OBJECT_PROGRESS |
11 |
Progress object. |
OBJECT_TREE |
12 |
Tree object. |
(string) The name of the object.
Note: This name must not be the name of another object on the page. If an object on the page already exists with the name passed, an error will occur.
(table) A table of properties you want to set for the object. The contents of this table depends on which object type was specified:
Note: Clicking on the links below will take you to the properties table in each object's SetProperties action.
Label (Height and Width cannot be specified when creating a label object with this action)
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions