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 May 20th, 2006, 10:36 AM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default add function to custom toolbar

I have yet another question.

If I create a custom toolbar to use in my database, is it possible to create a funcion (in a module or anywhere else (I don't know, that's why I'm asking)) that will do the following action:

open the form (MAXIMIZED) that is linked to the 'button' of this custom toolbar and close the form I was working on when I pressed this button.

So if I'm working on 'form A' and I press the button 'open form F' on the toolbar, I would want for exemple 'form F' to open and 'form A' to close. If I'm working on 'form C' and I press the same button 'open form F', 'form F' as to open, but now 'form C' has to close...

The toolbar is the same in every form except the main menu where I do not need this toolbar, because the main form as some action buttons. I want to use the toolbar on the other forms, because the action buttons will take to much space on the forms.

Does anyone understands what I mean? Is this possible? If yes, what should be the function to use? Could you write it in detail please...

Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
WordML - how to add custom information robbert XML 3 August 23rd, 2006 05:44 AM
Adding Custom Controls to the Studio's toolbar devdev Visual Studio 2005 0 May 21st, 2006 04:17 PM
add a custom field to a mail item [email protected] Visual Studio 2005 0 May 15th, 2006 10:25 AM
Call macro in Add-in from a toolbar button??? Chavo Excel VBA 1 May 3rd, 2005 01:55 PM
How can I add Toolbar and menu In my Plugin Object Daniel_hn Visual C++ 0 July 13th, 2004 03:09 AM





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