If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
picture box for forms
Hi,
here's my problem: I need to draw lines on a map of the world to visualize global material flow in an access form. The line width and x/y will change depending on selected material classes. I've tried to use Stephen Lebans' ImageClass but it's way beyond my skills. I can, of course, load the map of the world and draw the lines then. But if I clear the display or reset the buffer, I always end up with the underlying grey image. Is there a way to integrate my own picture as a standard picture that survives the functions buffer reset and clear display? Thanks for your help, Nic |
#2
|
|||
|
|||
picture box for forms
I don't understand your issue. The Class exposes a LoadImageControl method.
Just call it from the form's Load event(after you have instantiated an instance of the clsPictureBox object) or call it programmatically whenever you need to. -- HTH Stephen Lebans http://www.lebans.com Access Code, Tips and Tricks Please respond only to the newsgroups so everyone can benefit. "Nic" wrote in message ups.com... Hi, here's my problem: I need to draw lines on a map of the world to visualize global material flow in an access form. The line width and x/y will change depending on selected material classes. I've tried to use Stephen Lebans' ImageClass but it's way beyond my skills. I can, of course, load the map of the world and draw the lines then. But if I clear the display or reset the buffer, I always end up with the underlying grey image. Is there a way to integrate my own picture as a standard picture that survives the functions buffer reset and clear display? Thanks for your help, Nic |
#3
|
|||
|
|||
picture box for forms
Stephen, thanks so much! That was the clue. Now it works just as I
hoped it would. Thanks again. Nic Stephen Lebans schrieb: I don't understand your issue. The Class exposes a LoadImageControl method. Just call it from the form's Load event(after you have instantiated an instance of the clsPictureBox object) or call it programmatically whenever you need to. -- HTH Stephen Lebans http://www.lebans.com Access Code, Tips and Tricks Please respond only to the newsgroups so everyone can benefit. "Nic" wrote in message ups.com... Hi, here's my problem: I need to draw lines on a map of the world to visualize global material flow in an access form. The line width and x/y will change depending on selected material classes. I've tried to use Stephen Lebans' ImageClass but it's way beyond my skills. I can, of course, load the map of the world and draw the lines then. But if I clear the display or reset the buffer, I always end up with the underlying grey image. Is there a way to integrate my own picture as a standard picture that survives the functions buffer reset and clear display? Thanks for your help, Nic |
Thread Tools | |
Display Modes | |
|
|