PDA

Click to See Complete Forum and Search --> : Form Model


Armadillo
Nov 9th, 1999, 05:18 AM
How can I make a form a model form for my application? Like how a message box and be set to vbApplicationModal.

Compwiz
Nov 9th, 1999, 07:49 AM
Use something like this:


Private Sub Command1_Click()
frmAbout.Show vbModal, Me
End Sub


The vbModal specifies that the form should be a Modal form and the Me is the Owner Form. If you wanted the form to be modal to another form, replace Me with its name.

------------------
Tom Young, 14 Year Old
tyoung@stny.rr.com
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer


[This message has been edited by Compwiz (edited 11-09-1999).]

MartinLiss
Nov 9th, 1999, 07:49 AM
MYForm.Show vbModal


------------------
Marty