OpalSetIconProcedure OpalSetIcon(window_ref:integer, widget_ref:integer, icon_image:element = NULL) |
Add an image to a widget (icon). icon_image is the handle of the image. icon_image=NULL removes the icon. The image will not be freed, so load the images separately if you are going to change them. Labels, check boxes, radio buttons, command buttons and toggle buttons all support icons. |
window_ref:integer = ref of the window that contains the widget widget_ref:integer = ref of the widget [icon_image]:element = image pointer (default NULL) |