If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Customized Menubar Problem
Hi everyone
I have two smaller problems concerning customized Menubars (Access2000) which are more or less related to eachother. 1) From the customize toolbar screen, Tab "Commands" I have pulled the "Print" command into my own created command Bar menu. I noticed that this command result in printing without getting the normal Print dialog in which you can choose the printer. Is there a way to get this dialog? 2) To avoid this problem I decided to pull in to my own menubar a Build-in Menu named "File". This also contains the "Print" command. This command results in first opening the printer dialog. Just like I want to have it. So I thought I was happy. But then I noticed that when I start modifing the commands in this Build-in Menu "File" (new Icon, new commands, delete commands etc) those changes have the same impact on the normal standard Access menubar "File". Is there a way of prevending this? Cheers Marcel |
#2
|
|||
|
|||
Customized Menubar Problem
You can well steal command buttons (make sure you hold down the ctrl-key
when you drag and drop). Thus, the above "drag and drop" will "copy" the icons, not damage the original ones. (you REALLY need to do this!!). Further, for the print button command, you can make your own button to show the print dialog. Just have your button run the following: The select object command is needed to fix a "focus" bug if you have a form with a timer function. For the code that pops up the printer dialog (so the user can change printers etc). You can use: On Error Resume Next DoCmd.SelectObject acReport, Screen.ActiveReport.Name DoCmd.RunCommand acCmdPrint The select object command is needed to fix a "focus" bug if you have a form with a timer function. (so, remove that above select object code if this custom menu is not for your reports). -- Albert D. Kallal (Access MVP) Edmonton, Alberta Canada http://www.members.shaw.ca/AlbertKallal |
#3
|
|||
|
|||
Customized Menubar Problem
Thanks for the help.
"Albert D.Kallal" wrote in message ... You can well steal command buttons (make sure you hold down the ctrl-key when you drag and drop). Thus, the above "drag and drop" will "copy" the icons, not damage the original ones. (you REALLY need to do this!!). Further, for the print button command, you can make your own button to show the print dialog. Just have your button run the following: The select object command is needed to fix a "focus" bug if you have a form with a timer function. For the code that pops up the printer dialog (so the user can change printers etc). You can use: On Error Resume Next DoCmd.SelectObject acReport, Screen.ActiveReport.Name DoCmd.RunCommand acCmdPrint The select object command is needed to fix a "focus" bug if you have a form with a timer function. (so, remove that above select object code if this custom menu is not for your reports). -- Albert D. Kallal (Access MVP) Edmonton, Alberta Canada http://www.members.shaw.ca/AlbertKallal |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Strange problem with different networks. | Adam | General Discussion | 1 | March 13th, 2005 10:17 PM |
IE6 & Outlook Problem (Strange Problem)! | KW | Outlook Express | 4 | February 1st, 2005 08:31 AM |
Reinstalling OE... | KAR | Outlook Express | 24 | August 21st, 2004 06:52 PM |
Productkey problem when installing office 2003 on network | Stefan Schreurs | Setup, Installing & Configuration | 1 | June 1st, 2004 11:16 PM |
word error | mac | General Discussions | 1 | May 6th, 2004 08:14 AM |