Hi all,
I have been using the "PROPERTY ImageComponentID LoadImageFromFile .vFileName". I have no trouble when I use a dotted variable for the .vfilename, but if I try to use an &variable, the code seems to ignore the & and treat it like a dotted variable.
When the file spec of the vFileName is constant, I can just use a dotted variable or even text surrounded by quotes. However, there are time when I would like to let the code choose the file spec. For example, assume I would like to use .vdoc1 or .vdoc2 or .vdoc3 to be displayed by the Variable Image object, where vdoc1 = 'C:\docs\doc1.jpg', vdoc2 = 'C:\docs\doc2.jpg' and vdoc3 = 'C:\docs\doc3.jpg'. What I thought should work would be this....
SET V vmydoc = '.vdoc2'
PROPERTY ImageComponentID LoadImageFromFile &vmydoc (I would like to display doc2.jpg)
But that does not seem to work.
Is there a way to make this work?
Mike

