sometimes we need to create new form without close another or a form cannot be touched before new form closed, follow steps :
1. create new project
2. create form1, command1, command2, command3 on the form, include the code :
Private Sub Command1_Click()3. create form2, and run your project, looks the different
Form2.Show vbModeless, Me
End Sub
Private Sub Command2_Click()
Form2.Show vbModal, Me
End Sub
Private Sub Command3_Click()
Form2.Show
End Sub
good luck
just download the project : (use password : do-stupid-things.blogspot.com)
different of vbmodal, vbmodeles and only form show on visual basic
0 komentar:
Post a Comment