Dragen Posted April 7, 2008 Author Share Posted April 7, 2008 Is there a way of using the LoadPicture function to store the image in a variable to be used at another point?For example using something like this:```Beads(0).Image = LoadPicture(App.Path & "\gfx\bead" & i & ".jpg")frmMyForm.bead.Picture = Beads(0).Image```Instead of saving the image directly to the 'bead' image itself? I've been trying, but I can get it to work. Not sure if it's possible and if it is, I can't figure out what type of variable 'Image' should be (In Type Beads).Any ideas?EDIT:Don't worry I finally found the answer, by using a 'PropertyBag' which can be used to store any type of data. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now