How do i change modaless form to modal?
Printable View
How do i change modaless form to modal?
Use Show method of form with vbModal parameter. This is an example:
frmForm.Show vbModal, MDIMain' frmForm will be displayed as Modal, MDIMain is a parent form
Vlad
Maybe i didn'y clarify my question. I want to show the form with vbModeless but that it will behave as a Modal.
Disable the window that shows the window.. uhmmm
Me.Enabled = False
MyForm.Show vbModeless, Me
Now you only need to figure a way to tell the Me form when MyForm is done... I usually use an event for such things.
Crazy D :-)
"One ring rules them all"
Thanks
Hi,
I am just curious... Can you explain the case a little more please.. where & why you are showing a form Modeless and you want to behave it modal.!
I couldn't figure out one...
RK