Как открыть модальную Form (форму)

Если модальное окно или диалог активны, все другие окна или диалоги пассивны.

form.pngnewform.png

' Gambas class file

PUBLIC SUB Button1_Click()
DIM hNewForm AS Fnew
hNewForm = NEW Fnew
'hNewForm.ShowModal()
'you can make the new Form modal here or in the
'constructor of the class Fnew
END

-- JochenGeorges - 28 Dec 2004