Visual Basic 6.0
show formVariable hide formVariable
To stop a form from loading, raise an error in its Initialize event.
Delphi 5.0
// In the calling form if PTConfig_UIForm.ShowModal = mrOk then begin ... end; // In the modal form, attach one of these to the appropriate button ModalResult := mrOk ; ModalResult := mrAbort;Some related commands for non-modal forms
PTConfig_UIForm.Show PTConfig_UIForm.Hide PTConfig_UIForm.Release PTConfig_UIForm.CloseNormally, forms are added to your application via the *.dpr (Delphi project) file
Application.CreateForm(TAboutBox, AboutBox);In order to use the form, you must include its unit in the appropriate uses clause.
Java
object.show(); object.hide(); object.setModal(boolean); // works with dialog boxesIn Java 2* In Record Time (1998), Constructing Java Dialog Boxes provides explicit instructions on how to create a dialog box. The example eventually builds a pop-up calculator and shows one way to transfer data between your application and the dialog. (Does not use swing.) (Link broken 4-16-02)
O'Reilly's Java in a Nutshell (1996) provides several examples including
Author: Robert Clemenzi - clemenzi@cpcug.org