A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

picture box for forms



 
 
Thread Tools Display Modes
  #1  
Old December 13th, 2006, 03:44 PM posted to microsoft.public.access.forms
Nic
external usenet poster
 
Posts: 2
Default 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  
Old December 14th, 2006, 03:36 PM posted to microsoft.public.access.forms
Stephen Lebans
external usenet poster
 
Posts: 619
Default 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  
Old December 14th, 2006, 04:17 PM posted to microsoft.public.access.forms
Nic
external usenet poster
 
Posts: 2
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.