D
David Schwartz
Which toolbar control would you recommend for a VB.NET Windows Forms
application and why?
Thanks!
application and why?
Thanks!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
* "David Schwartz said:Which toolbar control would you recommend for a VB.NET Windows Forms
application and why?
For a simple application, I would use the ToolBar control which can be
found in the toolbox.

* "David Schwartz said:As a quick test, I just added the ToolBar control to a form, added an
ImageList with a few images, added a few buttons to the ToolBar, assigning
each one a different image from the ImageList. The images appear on the
toolbar at design time, but when I run the application the buttons appear
without images. Is there something else I need to do to make the images
appear at run-time?
David Schwartz said:As a quick test, I just added the ToolBar control to a form, added an
ImageList with a few images, added a few buttons to the ToolBar, assigning
each one a different image from the ImageList. The images appear on the
toolbar at design time, but when I run the application the buttons appear
without images. Is there something else I need to do to make the images
appear at run-time?
Thanks.
* "David Schwartz said:I don't have any call to EnableVisualStyles. (Actually there is no code at
all in my test application, just the controls). Do I need this call
somewhere?
james said:I went thru the same thing with the ToolBar control. Look in Help and follow
the instructions there exactly as stated. It seems if you do any portion out
of order the images will show up in the designer but not at run-time. Sorry
I don't remember the exact order.
james
David Schwartz said:As a quick test, I just added the ToolBar control to a form, added an
ImageList with a few images, added a few buttons to the ToolBar, assigning
each one a different image from the ImageList. The images appear on the
toolbar at design time, but when I run the application the buttons appear
without images. Is there something else I need to do to make the images
appear at run-time?
Thanks.
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.