CREATE OBJECT G_DOCK
EXPORTING
REPID = SY-REPID
DYNNR = SY-DYNNR
SIDE = 8
RATIO = 70
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5
OTHERS = 6 .
CALL METHOD CL_GUI_CFW=>UPDATE_VIEW.
***在PBO里面,想要设置或者取得长宽等尺寸之前,须加上上面一句,否则出错
CALL METHOD G_DOCK->GET_WIDTH
IMPORTING
WIDTH = LS_WIDTH
EXCEPTIONS
CNTL_ERROR = 1
OTHERS = 2.
阅读(742) | 评论(0) | 转发(0) |