Method Name |
In Parameter(s) |
Return Type |
Description | |
Add |
(None) |
IScreen |
Creates a Screen object in the Screens collection and returns the Screen object if successful. | |
Item |
Index |
Variant |
Object |
Returns a Screen object from the collection. The ScreenNumber parameter is optional. The Index parameter is required. If the ScreenNumber parameter is omitted, the Index parameter specifies the order of the Screen object. Otherwise, it specifies the program name. The Item method is the default member for the Screens collection object. |
ScreenNumber |
Variant | |||
Remove |
Index |
Variant |
(None) |
Removes a single Screen object from the collection. Any references to the removed Screen object are invalid. The parameters are defined the same as for the Item method, except that the Index parameter can also be a Screen object, if the ScreenNumber parameter is omitted. |
ScreenNumber |
Variant | |||
Move |
FromIndex |
Variant |
IScreen |
Moves the Screen object from its current position (specified by either FromIndex or FromScreen) to the position ToIndex. The Screen object moved is returned. |
FromScreen |
Variant | |||
ToIndex |
Long | |||
GetIndex |
ProgramName |
String |
Long |
Returns the index for the Screen object in the collection. The screen is identified by ProgramName and ScreenNumber (as given in the R/3 System). |
ScreenNumber |
String | |||
Insert |
Index |
Long |
Object |
Inserts the screen Item into the collection at position Index. Returns the inserted object. |
Item |
Object | |||