Message 1 of 4
Icons for Toolbars
Not applicable
12-10-2000
08:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can anyone please help I have created a new tool bar and I am trying to
assign a Bmp
image to the button.
I have tried the SetBitMap and GetBitMap, but this seems to only control
the size of the image not the image itself
This is my code to create the toolbar
LoadMacro = Chr(45) & "vbaload" & Chr(32) & "TitleBlockAttributes.dvb" &
Chr(32)
RunMacro = Chr(45) & "vbarun" & Chr(32) & "TitleBlockAttributes" & Chr(32)
Set LoadButton = newToolBar.AddToolbarButton("", "Load_Macro",
"LoadingMacro", LoadMacro)
Set RunButton = newToolBar.AddToolbarButton("1", "Run_Macro",
"RunningMacro", RunMacro)
LoadButton.SetBitmaps = Load.BMP
Regards
Steven Houghton
assign a Bmp
image to the button.
I have tried the SetBitMap and GetBitMap, but this seems to only control
the size of the image not the image itself
This is my code to create the toolbar
LoadMacro = Chr(45) & "vbaload" & Chr(32) & "TitleBlockAttributes.dvb" &
Chr(32)
RunMacro = Chr(45) & "vbarun" & Chr(32) & "TitleBlockAttributes" & Chr(32)
Set LoadButton = newToolBar.AddToolbarButton("", "Load_Macro",
"LoadingMacro", LoadMacro)
Set RunButton = newToolBar.AddToolbarButton("1", "Run_Macro",
"RunningMacro", RunMacro)
LoadButton.SetBitmaps = Load.BMP
Regards
Steven Houghton