OpalCreateDropfunction OpalCreateDrop(window_ref:integer, x:integer, y:integer, width:integer, txt:string, enabled:boolean = TRUE, visible:boolean = TRUE) : integer |
Create a new drop-down widget. A drop-down is a textbox that expands to allow you to choose from several pre-defined options. The first option must be specified with txt, other options can be added with OpalAddList. 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 txt:string = name of the first option [enabled]:boolean = Enable the widget (default TRUE) [visible]:boolean = Show the widget (default TRUE) This function returns a integer |