code for close form

i have a form. i want the form to be closed when i click button. can anybody tell me what is the code?

thanks…

Hi,

write in clicked() of that button as element.close()

yeah. thank a lot :smiley: