以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]用戶管理窗口  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=79655)

--  作者:JoyGum
--  发布时间:2016/1/6 20:37:00
--  [求助]用戶管理窗口
請問內置的用戶管理窗口如何作變更?例如有些按鈕要刪除。謝謝!
--  作者:大红袍
--  发布时间:2016/1/6 20:49:00
--  

做一个计划任务,写入代码 http://www.foxtable.com/help/topics/0657.htm

 

Dim frm = Windows.Forms.Form.ActiveForm
If frm IsNot Nothing Then
    If frm.Name = "Class185" Then

            frm.controls("btnGroup").Enabled = False
            frm.controls("btnRole").Enabled = False
            \'Button2
            \'btnUserTable
            \'btnRole
            \'btnExtProperty
            \'btnDefault
            \'lstUsers
            \'btnGroup
            \'btnEdit
            \'btnDelete
            \'btnAdd
            \'
    End If
End If

[此贴子已经被作者于2016/1/6 20:52:09编辑过]

--  作者:JoyGum
--  发布时间:2016/1/7 0:19:00
--  
謝謝老師!