ID:2218791
 
(See the best response by FKI.)
Do I need to define an image in order to assign it as a label image or can I output a file there??
I mean what is the better way to do this??
Do I need to define an image in order to assign it as a label image or can I output a file there??

What does this even mean? Be more descriptive.
winset(usr,"label_1","image= x ")

what should x be I mean should it be an image object or a file??
Best response
In most cases it's a file. I cannot recall ever seeing an image object used there and I'm not sure that's even possible (and if it is, I don't see why you would).
ok just wanted to make sure so I just need a string of the relative path?? or should I use file(x)
Did some quick testing:

winset(src, "testlabel", "image = mob.dmi")


As far as using a file inside another folder, it wasn't that simple:

var/f = fcopy_rsc(file("testfolder/mob.dmi"))
winset(src, "testlabel", "image = [f]")
2nd method works the 1st though doesn't... thoug that works

winset(src,"testlabel","image= ['mob.dmi']")
You don't need the brackets (or the single quotes, but can use those).