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?
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?