
CONSTRUCTOR
Use
The constructor creates, initializes, and positions the control.
The constructor method is called automatically when you instantiate the class (
Features
create object dialogbox_container
exporting
parent = parent
width = width
height = height
style = style
dynnr = dynnr
repid = repid
lifetime = lifetime
top = top
left = left
caption = caption
no_autodef_progid_dynnr = no_autodef_progid_dynnr
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
Parameters |
Description |
Possible values |
parent |
Parent of the instance, that is, the contain in which the control is to be displayed |
|
width |
Width of the dialog box |
|
height |
Height of the dialog box |
|
style |
Controls the appearance and behavior of the control |
Constants from the class CL_GUI_CONTROL that begin with WS_* |
dynnr |
Number of the screen to which you want to attach the control |
|
repid |
Report ID: Program to which you want to attach the control |
|
lifetime |
Lifetime management parameter specifying the lifetime of the control |
cntl_lifetime_imode :The control remains alive for the lifetime of the internal session (that is, until a statement such as leave program or leave to transaction ) cntl_lifetime_dynpro : The control remains alive for the lifetime of the screen (that is, while it remains in the screen stack). It is not destroyed, for example, by a call screen or call transaction statement. |
top |
Position of the dialog box: Top edge |
|
left |
Position of the dialog box: Left-hand edge |
|
caption |
Dialog box caption |
|
no_autodef_progid_dynnr |
Switches off automatic definition of the program ID and screen number. |
space Program ID and screen number are used automatically (default value) 'X' Switches off automatic definition of the program ID and screen number. |