Если модальное окно или диалог активны, все другие окна или диалоги
пассивны.
' 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