[Gambas-user] How to close a modal dialog form?

2009-12-08 Thread M. Cs.
Since the language of help documents aren't as clear to me, and I saw no practical example I need your help. I would like to have a template message dialog with title, text and an image I wrote a subroutine which would do the things. It has an OK button upon itself, but I cannot close the window.

Re: [Gambas-user] How to close a modal dialog form?

2009-12-08 Thread M. Cs.
Solved! PUBLIC SUB Messenger(naslov AS String, tekst AS String, slika AS String) DIM imge AS PictureBox DIM conti AS TextLabel DIM butty AS Button DIM i AS Integer keret = NEW Form keret.Width = 500 keret.Height = 300 keret.Title = naslov imge = NEW PictureBox(keret) imge.x = 0 imge.y = 0