Access 97 - 如何编辑/浏览现有工具栏?

发布于 2024-08-09 19:20:42 字数 167 浏览 1 评论 0原文

我当前的工作是更新现有的 Access97-Project。我已经很长时间没有使用 Access 了,我不知道如何探索一个名为“sbmbDrucken”的工具栏,它显然是用户创建的。我只需要访问按钮调用的操作或代码...

是否有我错过的任何菜单条目或者我是否需要特殊代码进行自检?

蒂亚!

My current job is updating an existing Access97-Project. I haven't worked with Access in a long time and i can't find out, how i can explore a toolbar called "sbmbDrucken" which is obviously user-created. I just need access to the action or the code which is called by the buttons...

Is there any menu entry i missed or do i need special code for self-inspection?

TIA!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梦归所梦 2024-08-16 19:20:42

菜单/工具栏的实例化有三种不同的方法:

  1. 旧方法,使用宏。在A95之前,这是唯一的方法,因此很多旧的应用程序(即从早期版本转换而来的应用程序)可能仍然使用菜单宏。

  2. 使用在 Access 中右键单击工具栏时获得的 CUSTOMIZE 函数手动定义它们。

    使用在 Access

  3. 在代码中,使用 Application.Commandbar 对象。

首先,您可以浏览宏并查看其中是否有菜单宏。

最后,您可以在代码中搜索 CommandBar。

对于第二个,只需通过内置的菜单自定义工具查看它们即可。请记住,您可能必须勾选它们才能使它们可见,并且该列表的顺序不合理。同样,一些菜单/工具栏在自定义界面中是隐藏的。另外,您可能需要查看“自定义”工具栏菜单项。

There are three different ways for menus/toolbars to be instantiated:

  1. the old way, using macros. Before A95, this was the only way, so a lot of older apps (i.e., those converted from earlier versions) may still use macros for the menus.

  2. defining them by hand, using the CUSTOMIZE function that you get when you right click on a toolbar in Access.

  3. in code, using the Application.Commandbar object.

For the first you can browse your macros and see if any of them are menu macros.

For the last, you can do a search in the code for CommandBar.

For the second, just look at them through the built-in menu customization tools. Keep in mind that you may have to check them off to get them to be visible, and that the list is in no rational order. Likewise, some menus/toolbars are hidden from the customization interface. Also, you might need to look at the CUSTOM toolbar menu item.

坐在坟头思考人生 2024-08-16 19:20:42

我手头没有 Access 97,但您可以查看此网页: http://www.alvechurchdata.co.uk/hints-and-tips/accaddtoolbar.html

似乎“用户创建的”工具栏可以通过 form.load 处的手写代码来定义 或类似的地方。你可以搜索CommandBars.Add看看是否能找到那些相关的代码段。

希望有帮助。

I don't have Access 97 on hand but you may take a look of this webpage: http://www.alvechurchdata.co.uk/hints-and-tips/accaddtoolbar.html

It seems that "user-created" toolbars could be defined by handwritten code at form.load or somewhere similar. You may search CommandBars.Add and see if you can find those relevant code segments.

Hope that helps.

孤单情人 2024-08-16 19:20:42

在设计模式下,您将能够看到工具栏和工具栏。分配给每个按钮的操作。

右键单击特定工具栏
单击“自定义...”
右键单击您想要编辑操作的按钮。

您将能够看到该操作(可以是宏或代码)。
如果这根本没有帮助,请告诉我。

In the design mode, you will be able to see the toolbar & actions assigned to each of the button.

Right click on the specific toolbar
Click on Customize...
Right click on the button you would like to edit the action of.

You will be able to see the action (which could either be macro or code).
Let me know, if that doesn't help at all.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文