
Executing a procedure upon loading?
You'll pay a price for using autoredraw though... It forces
windows to keep a bitmap of the form in memory and refresh
that bitmap with each change and then redraw that bitmap to the
foreground each time something paints. Uses memory, and slows
things down a bit...
What are you 'painting' to the form?
D?
| Wow that fixed everything. Thanks!
|
|
Quote:
| >-----Original Message-----
| >It is printing, but you need to set AutoRedraw on the
| picturebox to true.
| >Done!
| >
| >Max Bolingbroke
| >
| >> I should revise my question, I can get Form_Load to
| >> execute and it does work, but it won't print anything.
| I
| >> need to print in that procedure, is it possible?
| >>
| >> Thanks again
| >>
| >>
| >> >-----Original Message-----
| >> >Kind of a dumb question I guess, but is there some way
| to
| >> >get a procedure to execute immediately and
| automatically
| >> >upon loading the form? I made a Form_Load procedure,
| >> >which I thought was the way to do it, but it isn't
| >> >executed when I load the window. Basically I want
| >> >something printed in a picture box the moment I load
| the
| >> >window. Any help would be appreciated.
| >> >
| >> >Thanks
| >> >.
| >> >
| >
| >
| >.
| >