Image at runtime

Posted by Admin on 21-Oct-2009 05:12

What is the equivalent of Load-Image in GUI for net. I need to assign a button image at runtime.

All Replies

Posted by Admin on 21-Oct-2009 05:26

FILE-INFO:FILE-NAME = "images/myimage.bmp".

oButton:Image = NEW System.Drawing.Bitmap (FILE-INFO:FULL-PATHNAME).

FILE-INFO does the propath evaluation. Won't work with images in procedure libraries.

This thread is closed