(1). 用tcode:se41,se80,se90(programming library-->programming subobjects--> gui status.)等都可以,拷貝乙個標準的gui status( 拷貝程式saplkkbl中的'standard' gui status)到你的程式.
然後寫pbo寫**:
data: i_qmel like makt occurs 0.
data v_repid type repid.
select * from makt into table i_qmel.
v_repid = sy-repid.
call function 'reuse_alv_grid_display'
exporting
i_callback_program = v_repid
i_callback_pf_status_set = 'set_pf_status'
i_callback_user_command = 'user_command'
i_structure_name = 'makt'
tables
t_outtab = i_qmel
exceptions
program_error = 1
others = 2.
然後可以通過修改gui_status刪除按扭或著增加按扭
後面有個靜態form需要注意
form f_status using rt_extab type slis_t_extab.
set pf-status 'standard' excluding rt_extab.
endform.
(1). 用tcode:se41,se80,se90(programming library-->programming subobjects--> gui status.)等都可以,拷貝乙個標準的gui status( 拷貝程式saplkkbl中的'standard' gui status)到你的程式.
然後寫pbo寫**:
data: i_qmel like makt occurs 0.
data v_repid type repid.
select * from makt into table i_qmel.
v_repid = sy-repid.
call function 'reuse_alv_grid_display'
exporting
i_callback_program = v_repid
i_callback_pf_status_set = 'set_pf_status'
i_callback_user_command = 'user_command'
i_structure_name = 'makt'
tables
t_outtab = i_qmel
exceptions
program_error = 1
others = 2.
然後可以通過修改gui_status刪除按扭或著增加按扭
後面有個靜態form需要注意
form f_status using rt_extab type slis_t_extab.
set pf-status 'standard' excluding rt_extab.
endform.
Android透明狀態列 沉浸式狀態列
注意 android版本 4.4此方法有效 第一步 在activity的布局檔案中,根布局中加入以下第5 7行 第二步 新建類kitkatutils.class package cn.powerthink.djt.utils import android.annotation.suppresslin...
android 狀態列浸透 狀態列半透明
純 設定,不用修改manifest 首先這是主介面.xml 兩種情況 第一種 去掉xml中 style 效果 主介面置頂,可以實現半透明效果 activity oncreat 中 狀態列沉浸,4.4 生效 if build.version.sdk int build.version codes.ki...
IOS7狀態列標準適配
注定這段時間是忙的,是頭疼的 原創在此哦 這兩天經常會碰到群裡有人在問問題,問ios7怎麼適配,以及各種網上說的如何解決ios7下狀態列的問題.我發現各種群裡流傳著一種適配方法,就是修改window的座標 window.frame 然後大家紛紛效仿,但是往往出現各種問題,發出各種報怨,各種吐嘈 殊不...