CONTROL |
Top Previous Next |
Syntax CONTROL(parent, type as UINT,title as STRING,l as INT,t as INT,w as INT,h as INT,flags as INT,id as UINT) Description Creates a control and either shows it in the window or adds it to the dialog template. Parameters parent - The window or dialog to place the control into type - The type of the control. title - The text of the control. l, t, w, h - Control coordinates and dimensions. flags - Style flags. id - Identifier for the control. Return value None Remarks Available control types: @BUTTON @CHECKBOX @RADIOBUTTON @EDIT @LISTBOX @COMBOBOX @STATIC @SCROLLBAR @GROUPBOX @RICHEDIT @LISTVIEW @STATUS @SYSBUTTON @RGNBUTTON @TREEVIEW See Also: CREATEDIALOG, OPENWINDOW Example usage CONTROL win,@button,"QUIT",4,100,50,20,@TABSTOP|@CTLBTNDEFAULT,23 |