OpalCreateLabelfunction OpalCreateLabel(window_ref:integer, x:integer, y:integer, width:integer, height:integer, label:string, icon_image:element = NULL, enabled:boolean = TRUE, visible:boolean = TRUE) : integer |
Create a label widget. A label simply shows information and has no visible interation (although an event will still be generated if it is clicked). Returns the index/reference of the widget. |
window_ref:integer = ref of the window that will contain the widget x:integer = top left postion in the window y:integer = top left postion in the window width:integer = width of the widget height:integer = height of the widget label:string = caption text [icon_image]:element = image to use as an icon (default NULL) [enabled]:boolean = Enable the widget (default TRUE) [visible]:boolean = Show the widget (default TRUE) This function returns an integer |