RealBASIC: Data Casting

guilly

Too handsome to use a PC
Is it called data casting? Well, I think so.

Let's say I have a String named x with value "myImage".

I want to use this value as if it were a Picture object named myImage, to do for example things such as:

MainWindow.Backdrop = x (but working, of course).

I want to do this so I can store image names into a database as varchar and recall them afterwards to use them in the application.

Sorry I'm a bit of a RB beginner, but thank you all anyhow!! ;)
 
Viro said:
... you do on hte REALBasic(Note the proper capitalization :)) mailing list....

Thanx for the correction ;) (and for the information, of course)
 
Back
Top