How would I make the 24 images into an array?
On Apr 17, 2006, at 5:07 PM, Joseph J. Strout wrote:
At 4:30 PM -0500 4/17/06, Tristan wrote:
I have a series of pictures that I want to display in the dock item.
There is one for every hour. They are named Planet1 then the hour. An
example Planet12. That is 2:00.
I'll assume that by "named" you mean that you have dragged these
pictures directly into your project, and so are referring to them by
their global names in code.
There is no way to "construct" such a global reference, whether it's
to a class, a method, a property, or a picture dragged into your
project. You'll have to use a Select Case statement to find the right
picture reference, or else throw all your pictures into an array or
Dictionary when your app starts, and then look them up through that.
HTH,
- Joe
--
Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>