Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f = createForm()
- f.setSize(200,200)
- b = createButton(f)
- b.setSize(100,100)
- b.left = (f.width - b.width) / 2
- b.top = (f.height - b.height) / 2
- b.Caption = 'My Button'
- function showMsg()
- showMessage('Hello there...!!')
- return
- end
- function exiter()
- --closeCE()
- return caFree
- end
- f.show()
- b.onClick = showMsg
- f.onClose = exiter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement