Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 20th, 2006, 10:36 AM
Friend of Wrox
Join Date: Apr 2006
Location: Ternat, , Belgium.
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...


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 m.sepe@etasystemickb.it 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

All times are GMT -4. The time now is 10:59 AM.

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