The idea is to place the name of the picture (as string) in a
variant and use that variant to assign the picture to the Window
(Window1.Background or Canvas1.Background); something like:
Dim myPictName As Variant
myPictName = "NivePict16"
Self.Background = myPictName
is it clear now ?
However, that will result in an error. But you can do:
Self.Background = NivePict16
since NivePict16 has been dragged into the project.
Best,
Jack
_______________________________________________
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>