如何从自定义功能区打印 [英] How to print from a custom ribbon

查看:66
本文介绍了如何从自定义功能区打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个自定义功能区(第一次)它工作正常但我不知道当我在屏幕上打印预览时该怎么做。看起来当你有一个自定义菜单时,打印菜单不会显示出来。这里是代码

展开 | 选择 | Wrap | 行号

解决方案

我找到了如何将打印件放入功能区

展开 | 选择 | Wrap | 行号




您是否尝试在报告打开时为报告定义功能区。然后,可以使用报告属性对话框其他选项卡并在功能区名称属性中选择已定义的功能区,将此功能区附加到报告上。

打开报告时默认功能区将仅由报告功能区替换。从中选择打印将打印报告,因为默认情况下它是活动对象(如果不是那么功能区就不可见)。


HTH



MTB


我没试过,但听起来应该解决我的问题。感谢。

I''ve created a custom ribbon (first time) it works fine but I can''t figure out what to do when I have a print preview on the screen. It seems like when you have a custom menu the print menu doesn''t show up. Here''s the code

Expand|Select|Wrap|Line Numbers

解决方案

I''ve found out how to put the print into the ribbon

Expand|Select|Wrap|Line Numbers


Hi

Have you tried defining a ribbon just for the Report when it is open. This ribbon can then be attaching to the report by using the Report properties dialogue ''Other'' tab and selecting the defined ribbon in the ''Ribbon Name'' property.
When the report is opened the Default ribbon will be replaced by the Report ribbon only. Selecting print from this will then print the report because it is the active object by default (if it isn''t then the ribbon won''t be visible).

HTH


MTB


I haven''t tried that but it sounds like it should fix my problem. Thanks.


这篇关于如何从自定义功能区打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆