Subject says it all.
Is it easy? Possible?
Thanks
Wengang
Printable View
Subject says it all.
Is it easy? Possible?
Thanks
Wengang
Perhaps through API calls, but you can easily create a form that looks like a msgbox and do whatever you want with it.
well, i have played around with that very idea, but I'm having a lot of trouble passing data back and forth with the two forms, and also in making the form behave like a message box.
in this case:
I put 3 buttons on a form that emulates a msgbox. depending on the button clicked, the second form will return a value of 1, 2, or 3 to a public variable from the original form. It always returns zero. Also, a message box should stop the forms activity until it has been responded to. I was only able to do that with a
do
doevents
loop until (a value is returned from the msgbox form)
and still it only returns zero.
ANyway, ideas?
Code:Yourmsgboxform.Show vbModal, yourmainform
Go to search in this forum, and do a search by member of
Aaron Young.
He answered this Q almost 2 months ago.
Good Luck.