View Single Post
  #1267  
Old 14-04-2017, 09:09
artag artag is offline
Registered User
 
Join Date: Nov 2016
Location: somewhere
Posts: 22
Thanks: 10
Thanked 4 Times in 4 Posts
artag is on a distinguished road
Hi! Newbie question here:

Let's say i create a button using botva:

Code:
btn1:=BtnCreate(WizardForm.Handle,200,200,160,50,ExpandConstant('{tmp}\button.png'),18,False);
BtnSetText(btn1,'Hola')
BtnSetFontColor(btn1, $000000, $000000, $000000, $000000);
how do i attach event to the button? (for example: exit).
thanks
Reply With Quote