msgbox not on top. is it possible ?

smig

Registered User.
Local time
Tomorrow, 01:39
Joined
Nov 25, 2009
Messages
2,209
is it possible that a msgbox won't be on top of other forms ?
not that I want it, but users say that sometimes computer hang, and after they do Ctrl+Alt+Del they get the correct msgbox on screen (They cancel the task manager at that time).
this situation lead me to the thought that msgbox stay inder forms and give the impression of hang.
 
Yes, sometimes that will happen. If you want to avoid that, then create your own form formatted to look like a message box, and then call it and set the message, etc. If you open it as modal then it will stay on top:

DoCmd.OpenForm "MyMsgBoxForm", WindowMode:=acDialog
 
thanks
this is real sad :(

I already started to work on my oun msgbox. so I guess I have a good reason to speed it up

how can I know what button was clicked ? should I use a public variable ?
 
how can I know what button was clicked ? should I use a public variable ?

You have to code the buttons and all to return a value. And yes, you can use a public variable so you can send the value from the form to the variable and then use it where you need.

If I remember correctly, someone had already built a custom message box with some good stuff it could do. I might see if I can locate it. I can't remember if it was uploaded here, or on their site, or some other forum. But it was pretty cool and you could just import the form and start using it by calling it somehow.
 
the ac2007 looks real cool, but I'm only using 2003 :D

I think the one I made looks good too.
I made my oun custom icons for it.
it resize based on length of line and number of lines.
it will have 1 or 2 buttons. I don't remember I ever used 3 options.

I'll upload when it's done
 

Users who are viewing this thread

Back
Top Bottom