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
ridders
Part time moderator
 
ridders's Avatar
 
Join Date: Jan 2017
Location: Somerset, UK
Posts: 6,209
Thanks: 83
Thanked 1,532 Times in 1,427 Posts
ridders is just really nice ridders is just really nice ridders is just really nice ridders is just really nice ridders is just really nice
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, 1266 views)
Attached Files
File Type: zip ScreenDimmerExample.zip (391.5 KB, 558 views)

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

New example databases:

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.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Colin
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.

-----------------------------------------------------------------------------------
nil illegitimi carborundum est

Last edited by ridders; 08-15-2017 at 09:39 AM. Reason: Updated to include referenced code by Tony Hine
ridders is offline   Reply With Quote
The Following 2 Users Say Thank You to ridders For This Useful Post:
Frothingslosh (08-18-2017), usm01 (07-25-2017)
Old 08-15-2017, 02:24 PM   #2
ridders
Part time moderator
 
ridders's Avatar
 
Join Date: Jan 2017
Location: Somerset, UK
Posts: 6,209
Thanks: 83
Thanked 1,532 Times in 1,427 Posts
ridders is just really nice ridders is just really nice ridders is just really nice ridders is just really nice ridders is just really nice
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, 796 views)
Attached Files
File Type: accdb RemoveBackgroundExample.accdb (508.0 KB, 140 views)
__________________
If this answer has helped, please click the Thanks button and/or click the 'reputation scales' symbol on the left.

New example databases:

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.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Colin
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.

-----------------------------------------------------------------------------------
nil illegitimi carborundum est

Last edited by ridders; 08-15-2017 at 03:35 PM.
ridders 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 11:13 AM.


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

Sponsored Links

How to advertise

Media Kit


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