以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  [原创]窗口表的右键菜单从哪里设置  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=159766)

--  作者:fczhaobo
--  发布时间:2021/1/7 18:12:00
--  [原创]窗口表的右键菜单从哪里设置
起初datatable表中BeforeShowContextMenu事件中设置了如下代码
e.ContextMenu = ContextMenus("学员管理A菜单")

现在,想在tables(e.form.name & "_table1")表中右键出现如何设置呢?
[此贴子已经被作者于2021/1/7 18:13:52编辑过]

--  作者:有点蓝
--  发布时间:2021/1/7 20:08:00
--  
如果是副本仍然到datatable表中BeforeShowContextMenu事件

如果是sqltable,到窗口表事件BeforeShowContextMenu事件

如果是fill之后,到全局表事件BeforeShowContextMenu事件