Use screen dimmer effect to get users attention (1 Viewer)

Status
Not open for further replies.

isladogs

MVP / VIP
Local time
Today, 07:23
Joined
Jan 14, 2017
Messages
18,261
A simple way of getting users attention is to 'dim' the rest of the screen when an important popup form is displayed.
When the form is closed the screen returns to normal.

For an example, see screenshot below:



The attached database provides all the code needed to achieve this effect.
Use 'sparingly' so the effect doesn't annoy end users

It also contains :
a) code to automatically resize forms depending on screen resolution.
This is partly based on ancient code done by Jamie Czernik for Access 97

b) a table/form of Access error codes & their meanings
The form provides a quick link to google search more info on a selected error

Please feel free to use any or all of this code

WARNING: The form frmDimmer provides the functionality but cannot be opened directly from the Navigation Pane.
This is because it would make your whole screen dimmed and your database unresponsive.
To prevent this, I have used code by Tony Hine in this link
https://www.access-programmers.co.uk...d.php?t=281839

For that reason I normally hide the form and set Show Hidden Objects as false
 

Attachments

  • ScreenDimmerEffect.jpg
    ScreenDimmerEffect.jpg
    94.6 KB · Views: 2,149
  • ScreenDimmerExample.zip
    391.5 KB · Views: 1,093
Last edited:

isladogs

MVP / VIP
Local time
Today, 07:23
Joined
Jan 14, 2017
Messages
18,261
Here's a variation on this idea which I posted as a reply in another thread

Another way to get user's attention could be to have a message box 'floating' on the desktop with all other items hidden

In this example the following things are hidden when the message box is displayed:
- entire Access application window (title bar/nav pane/ribbon)
- taskbar
- desktop icons
Also all other open application windows are minimised



When the user clicks OK to close the message, everything returns to normal including restoring the minimised application windows

Yet another way is to use 'balloon tooltip' message displayed in the system tray notifications area.
See this post:
https://www.access-programmers.co.uk/forums/showthread.php?t=295062
 

Attachments

  • Capture.PNG
    Capture.PNG
    7.9 KB · Views: 1,553
  • RemoveBackgroundExample.accdb
    508 KB · Views: 497
Last edited:
Status
Not open for further replies.

Users who are viewing this thread

Top Bottom