Go Back   Access World Forums > Microsoft Access Reference > Sample Databases

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 04-19-2017, 01:42 AM   #1
isladogs
Part time moderator
 
isladogs's Avatar
 
Join Date: Jan 2017
Location: Somerset, UK
Posts: 7,343
Thanks: 92
Thanked 1,809 Times in 1,684 Posts
isladogs is a glorious beacon of light isladogs is a glorious beacon of light isladogs is a glorious beacon of light isladogs is a glorious beacon of light isladogs is a glorious beacon of light
Use screen dimmer effect to get users attention

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
Attached Images
File Type: jpg ScreenDimmerEffect.jpg (94.6 KB, 1309 views)
Attached Files
File Type: zip ScreenDimmerExample.zip (391.5 KB, 591 views)

__________________
If this answer has helped, please click the Thanks button and/or click the 'reputation scales' symbol on the left.

Website links:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Colin
Previously known as ridders : Access 2010 32-bit, Access 2016 32-bit & 64-bit, SQL Server Express 2014, Windows 10,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by isladogs; 08-15-2017 at 09:39 AM. Reason: Updated to include referenced code by Tony Hine
isladogs is offline   Reply With Quote
The Following 2 Users Say Thank You to isladogs For This Useful Post:
Frothingslosh (08-18-2017), usm01 (07-25-2017)
Old 08-15-2017, 02:24 PM   #2
isladogs
Part time moderator
 
isladogs's Avatar
 
Join Date: Jan 2017
Location: Somerset, UK
Posts: 7,343
Thanks: 92
Thanked 1,809 Times in 1,684 Posts
isladogs is a glorious beacon of light isladogs is a glorious beacon of light isladogs is a glorious beacon of light isladogs is a glorious beacon of light isladogs is a glorious beacon of light
Re: Use screen dimmer effect to get users attention

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...d.php?t=295062
Attached Images
File Type: png Capture.PNG (7.9 KB, 837 views)
Attached Files
File Type: accdb RemoveBackgroundExample.accdb (508.0 KB, 153 views)
__________________
If this answer has helped, please click the Thanks button and/or click the 'reputation scales' symbol on the left.

Website links:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Colin
Previously known as ridders : Access 2010 32-bit, Access 2016 32-bit & 64-bit, SQL Server Express 2014, Windows 10,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by isladogs; 08-15-2017 at 03:35 PM.
isladogs is offline   Reply With Quote
Reply

Tags
access error codes , form resizer , screen dimmer

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Disable Home screen for front end users??? CanadianAccessUser General 4 07-23-2014 10:13 AM
Access screen by users gilpetito Introduce Yourself 5 09-06-2011 04:35 AM
resizing forms accoring to the users screen size! hinser13 Forms 1 09-22-2010 06:06 PM
White Screen on load with multi users John64 General 2 09-04-2009 11:32 AM
The Flicker Effect. Mouseover a Text Label causes a screen repaint? Me!User Forms 2 03-15-2004 07:02 PM




All times are GMT -8. The time now is 12:16 PM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post


Sponsored Links


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World