如何将鼠标悬停在行上以使用 VBA 或宏显示全文?微软访问 2007
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9824384/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to mouse over rows to display full text with VBA or Macros? Microsoft Access 2007
提问by Jane Holden
In Microsoft Access 2007 under (Form View), how do you make text in a table display the entire description when you mouseover one of the rows on the table. As shown on the picture above.
在 Microsoft Access 2007 下的(窗体视图)中,当您将鼠标悬停在表格中的某一行上时,如何使表格中的文本显示完整的说明。 如上图所示。
I could not find any information on the internet to accomplish this task with Macros or VBA.
我在互联网上找不到任何信息来使用宏或 VBA 完成此任务。
I appreciate any help you can give me.
我很感激你能给我的任何帮助。
Demonstrated Example. Mouse over to the Linked text. http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm
示范示例。将鼠标移至链接文本。 http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm
采纳答案by Fionnuala
Use Shift+F2 for zoom on a field or control.
使用 Shift+F2 缩放字段或控件。
回答by APrough
Unfortunately, I don't think you can do this on a datasheet with any of the built-in options. If, however, you are using a form, you can just put the following code in the Form.Current routine.
不幸的是,我认为您无法使用任何内置选项在数据表上执行此操作。但是,如果您使用的是表单,则只需将以下代码放入 Form.Current 例程中即可。
LongDesc.ControlTipText = LongDesc
where LongDesc is the name of the field that you want the tooltip on.
其中 LongDesc 是您想要工具提示的字段的名称。