PB 将菜单中的部分按钮设置为某些页面不可选中

if tab_1.selectedtab = 9 or tab_1.selectedtab = 10 then
uo_toolbarstrip.of_enable(uo_toolbarstrip.of_GetIndex( '增行'),true)
uo_toolbarstrip.of_enable(uo_toolbarstrip.of_GetIndex( '删行'),true)
else
uo_toolbarstrip.of_enable(uo_toolbarstrip.of_GetIndex( '增行'),false)
uo_toolbarstrip.of_enable(uo_toolbarstrip.of_GetIndex( '删行'),false)
end if
if tab_1.selectedtab = 9 then
uo_toolbarstrip.of_enable(uo_toolbarstrip.of_GetIndex( '增行'),false)
end if

posted @ 2019-11-12 09:15  博客燕  阅读(523)  评论(0编辑  收藏  举报