
07-11-2001, 02:38 PM
|
 |
Code Meister
Retired Moderator * Guru *
|
|
Join Date: Aug 2000
Location: Vancouver, BC, Canada
Posts: 10,441
|
|
Re: progress bar and status bar question
|
You put a picturebox on your form. You set it's align property to "bottom". You add label or picturebox controls to it to contain the various data types. You then add code to move the controls if the picturebox resizes and finally add code to update the data as required.
For a progressbar, I normally just use a picturebox and draw a coloured rectangle in it.
My status panel is usually either a simple caption, or a dropdown listbox (so I can see the history of the messages). Imageboxes hold various icons and change images as required.
Frankly, unless you need the 1MB Microsoft Windows Common Controls for something else (maybe the tab control), I'd recommend making your own status and progress bars. Your installation program will be 1MB smaller (depending on compression ratios) and you will be able to customize it easier.
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
|
__________________
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
|