ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Dialog Box (https://www.excelbanter.com/excel-programming/415942-dialog-box.html)

Francis Ang[_3_]

Dialog Box
 
I have the following program codes-

Application.ScreenUpdating=False
Dialogbox.Show

When the user moves the dialogbox, it messes up the screen. How do I stop a
user from moving the dialog box?

OssieMac

Dialog Box
 
Have you tried without Application.ScreenUpdating=False

That command is usually only used where extensive processing is to take
place and lots of processing time can be saved by not having to continually
update the screen. It also stops the screen continually flashing with new
info when extensive processing is taking place which can be annoying to the
user. I wonder why you need it just to bring up a dialog box.

--
Regards,

OssieMac


"Francis Ang" wrote:

I have the following program codes-

Application.ScreenUpdating=False
Dialogbox.Show

When the user moves the dialogbox, it messes up the screen. How do I stop a
user from moving the dialog box?


Francis Ang[_3_]

Dialog Box
 
I use 'Application.ScreenUpdating=False' because i do not want the user to
view the file running behind the dialog box.

"OssieMac" wrote:

Have you tried without Application.ScreenUpdating=False

That command is usually only used where extensive processing is to take
place and lots of processing time can be saved by not having to continually
update the screen. It also stops the screen continually flashing with new
info when extensive processing is taking place which can be annoying to the
user. I wonder why you need it just to bring up a dialog box.

--
Regards,

OssieMac


"Francis Ang" wrote:

I have the following program codes-

Application.ScreenUpdating=False
Dialogbox.Show

When the user moves the dialogbox, it messes up the screen. How do I stop a
user from moving the dialog box?


OssieMac

Dialog Box
 
I have no further suggestions.
--
Regards,

OssieMac


"Francis Ang" wrote:

I use 'Application.ScreenUpdating=False' because i do not want the user to
view the file running behind the dialog box.

"OssieMac" wrote:

Have you tried without Application.ScreenUpdating=False

That command is usually only used where extensive processing is to take
place and lots of processing time can be saved by not having to continually
update the screen. It also stops the screen continually flashing with new
info when extensive processing is taking place which can be annoying to the
user. I wonder why you need it just to bring up a dialog box.

--
Regards,

OssieMac


"Francis Ang" wrote:

I have the following program codes-

Application.ScreenUpdating=False
Dialogbox.Show

When the user moves the dialogbox, it messes up the screen. How do I stop a
user from moving the dialog box?


Francis Ang[_3_]

Dialog Box
 
Thank you. Appreciate your efforts.

"OssieMac" wrote:

I have no further suggestions.
--
Regards,

OssieMac


"Francis Ang" wrote:

I use 'Application.ScreenUpdating=False' because i do not want the user to
view the file running behind the dialog box.

"OssieMac" wrote:

Have you tried without Application.ScreenUpdating=False

That command is usually only used where extensive processing is to take
place and lots of processing time can be saved by not having to continually
update the screen. It also stops the screen continually flashing with new
info when extensive processing is taking place which can be annoying to the
user. I wonder why you need it just to bring up a dialog box.

--
Regards,

OssieMac


"Francis Ang" wrote:

I have the following program codes-

Application.ScreenUpdating=False
Dialogbox.Show

When the user moves the dialogbox, it messes up the screen. How do I stop a
user from moving the dialog box?


Héctor Miguel

Dialog Box
 
hi, Francis !

I have the following program codes-

Application.ScreenUpdating=False
Dialogbox.Show

When the user moves the dialogbox, it messes up the screen.
How do I stop a user from moving the dialog box?


op1: put the screenupdating on true BEFORE show the dialog
add a line w/ screenupdating on false AFTER the show line

op2: try w/ a userform and some API calls to remove the userform title

hth,
hector.



Francis Ang[_3_]

Dialog Box
 
Hi Miguel,

Thanks for the suggestion. I will try Option2 as I know how to do that.

"Héctor Miguel" wrote:

hi, Francis !

I have the following program codes-

Application.ScreenUpdating=False
Dialogbox.Show

When the user moves the dialogbox, it messes up the screen.
How do I stop a user from moving the dialog box?


op1: put the screenupdating on true BEFORE show the dialog
add a line w/ screenupdating on false AFTER the show line

op2: try w/ a userform and some API calls to remove the userform title

hth,
hector.





All times are GMT +1. The time now is 10:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com