2 Replies - 490 Views - Last Post: 23 February 2010 - 08:42 AM Rate Topic: -----

#1 Jogan101  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 31
  • Joined: 16-November 08

Question regarding how to set an image to an object

Posted 21 February 2010 - 02:17 PM

I am having trouble finding the exact syntax to set an image for an object. I have an image in my Img folder and I need to link/set/whatever to an object. Here is what I mean....
StoreNewYork = New Store("Tara Store - New York", newyorkstore.jpg)
StoreChicago = New Store("Tara Store - Chicago", chicagostore.jpg)



Where the jpegs are I just need to know what code I write there to get the images to work. Thanks!
Is This A Good Question/Topic? 0
  • +

Replies To: Question regarding how to set an image to an object

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1642
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Question regarding how to set an image to an object

Posted 22 February 2010 - 04:55 PM

So do you have a property in your Store class to hold the path to the image?
Was This Post Helpful? 0
  • +
  • -

#3 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 418
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Question regarding how to set an image to an object

Posted 23 February 2010 - 08:42 AM

Post the code for your Store class.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1