Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 6th, 2005, 03:56 PM
Authorized User
 
Join Date: Jun 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default buttons over and under


Is there a property which designates which object goes on top if both are visible?


details:
I have inhertied a form which has a number of buttons. On clicking one of them, a lengthy data update process starts during which we do not want the user to click on any of the other buttons.
Instead of disabling all button and reenabling them we have a Label (normally invisible) which is large enough to cover all the buttons and is made visible during the long procedure, then again invisible. This works well for preventing access to the buttons.

Now I want to add new buttons which should also be covered during the "data update" procedure. But oddly these new buttons stay on top of the Label, in both design-view and runtime.
__________________
Tim
 
Old April 6th, 2005, 06:30 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Click on the offending control while in design view, then go to Format>Send To Back


mmcdonal
 
Old April 7th, 2005, 09:41 AM
Authorized User
 
Join Date: Jun 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks,
That was the right trick.

Tim
 
Old April 7th, 2005, 11:26 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Beware of users using the Tab key to get at the underlying buttons anyway . . .
 
Old April 7th, 2005, 11:35 AM
Authorized User
 
Join Date: Jun 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That's good to know.
But in this case this should go a long way to prevent mayhem.
Thanks again.


Tim





Similar Threads
Thread Thread Starter Forum Replies Last Post
Buttons plb BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 12th, 2007 12:36 AM
Form buttons Lofa Beginning PHP 1 March 12th, 2007 06:39 AM
Buttons on a site PHP FAQs 0 January 17th, 2007 02:17 PM
'ok buttons' hiker Beginning VB 6 2 March 22nd, 2004 02:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.