Ms访问功能区,更改“按f1以获取加载项帮助”上方的文本 [英] Ms access ribbon, change text above the "press f1 for add-in help"
问题描述
我想在自定义功能区中更改按F1以获取加载项帮助上方的文本。根据我的互联网研究,不可能改变按F1加载帮助。但是,我看到人们改变它上面的粗体文字。即 MyDatabase.accdb 至测试。
此文本如何更改?罢工>我终于发现粗体文本与数据库的AppTitle属性相关联。现在,我需要弄清楚如何动态地改变它。谢谢你的帮助。
代码示例:
I would like to change the text above the "press F1 for add-in help" in a custom ribbon. Based on my internet research it is not possible to change "press F1 for add-in help". However, I have seen that people change the bold text above it. i.e. MyDatabase.accdb to "Test".
How is this text changed? I finally found out that the bold text is tied to the 'AppTitle' property of the database. Now, I need figure out how to change this dynamically. Thank you for you help.
Code Example:
<?xml version="1.0"?>
<!-- Created with IDBE RibbonCreator 2010 (Version: 1.1017) -->
<!-- http://www.RibbonCreator2010.com -->
<!-- http://www.RibbonCreator2010.de -->
-<customUI loadImage="LoadImages" onLoad="OnRibbonLoad" xmlns="http://schemas.microsoft.com/office/2009/07/customui">
-<ribbon startFromScratch="false">
-<tabs>
-<tab getVisible="GetVisible" label="Home" id="tab0">
-<group getVisible="GetVisible" label=" " id="grpTEST" tag="RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" centerVertically="false" autoScale="false">
<button getVisible="GetVisible" label="Close Quote Search" id="btn0" tag="RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" getEnabled="GetEnabled" onAction="OnActionButton" imageMso="BroadcastEnd" supertip=" " screentip="Close Quote Search" size="large"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
我尝试过:
我有可扩展的研究互联网并尝试了所有类型的代码片段而没有任何成功。
What I have tried:
I have extensible researched the internet and tried all kind of code snippets without any success.
推荐答案
粗体文字在自定义功能区中的按F1加载帮助上方由数据库属性AppTitle设置。
db.Properties(AppTitle) .value =TEST'更改AppTitle
Application.RefreshTitleBar'刷新标题栏
使用宏自动键捕获{F1}键击并打开帮助
The bold text above the "press F1 for add-in help" in a custom ribbon is set by the database property "AppTitle".
db.Properties("AppTitle").value = "TEST" 'change AppTitle
Application.RefreshTitleBar 'refresh the title bar
Use Macro Autokeys to capture {F1} keystroke and open help
这篇关于Ms访问功能区,更改“按f1以获取加载项帮助”上方的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!