What's this button on custom toolbars

D

DP

Is there some "trick" to getting the What's this button for help files to
work with a custom toolbar?

It seems pretty easy to use the properties of a control on a custom toolbar
to set the path reference to my Help file, and also to specify a Help
ContextID.

But either the What's this "?" doesn't show up on the screen when I use the
mouse to place this "?" over the toolbar button, or, it shows up on a
control I made like this (using Access Help), but it doesn't launch the help
program:

Set myBar = CommandBars _
.Add(Name:="Custom", Position:=msoBarTop, _
Temporary:=True)
With myBar
.Controls.Add Type:=msoControlComboBox, ID:=1
.Visible = True
End With
With CommandBars("Custom").Controls(1)
.AddItem "Get Stock Quote", 1
.AddItem "View Chart", 2
.AddItem "View Fundamentals", 3
.AddItem "View News", 4
.Caption = "Stock Data"
.DescriptionText = "View Data For Stock"
.HelpFile = "C:\Database\svag.chm"
.HelpContextID = 69
End With

What anyone know what I'm doing wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top