Charlotte Foust
cfoust at infostatsystems.com
Wed Aug 15 10:13:59 CDT 2007
You have to load and unload the toolbars in code to control their appearance and disappearance. If you create a runtime version, the toolbars don't respond to the property setting anyhow. Show the toolbar you want in the Open or Load event of a form and hide it in the close event. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com