Hello,
How can i make a push button ?
I use the flags Bs_pushbutton or bs_defpushbutton but that dont work ????
CONTROL win,@button,"QUIT",4,100,50,20,@CTLBTNDEFAULT,23
@CTLBTNDEFAULT = 1 = bs_defpushbutton
Bs_pushbutton = 0
Thanx Ficko, but that was not what i search.
I have found that :
setid "BS_PUSHLIKE",4096
CONTROL d1,@CHECKBOX,"button push (on/off)",10,50,100,20,@bs_pushlike,23
Here are the types of controls:
@BUTTON
@CHECKBOX
@RADIOBUTTON
@EDIT
@LISTBOX
@COMBOBOX
@STATIC
@SCROLLBAR
@GROUPBOX
@RICHEDIT
@LISTVIEW
@STATUS
@SYSBUTTON
@RGNBUTTON
@TREEVIEW
Ficko is correct.
Read the "Creating a Control" in the help file.
If you happen to need a group of pushbuttons that are interactive then look at my pushbutton custom control at
http://www.ionicwind.com/forums/index.php/topic,2270.msg19738.html#msg19738
Larry