I want to put an image on a button. How can I do that in vtcl?
In the “attribute editor” window there is a field named “image” where you should type the name of the image to put on the button. But you should create the image first. A good place is in the “init” function. Open the “function window” and double click on the function named “init”; then type in the function body: image create photo nameoftheimage -file /directoryoftheimage/yourimage.gif To put it in a label or button, etc. just insert “yourimage” in the image entry of the attribute editor, Guillaume Laisney