全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:939
推到 Plurk!
推到 Facebook!

disable print button in print preview form

尚未結案
kienwoon
一般會員


發表:3
回覆:4
積分:1
註冊:2004-11-25

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-12-08 16:46:33 IP:219.93.xxx.xxx 未訂閱
i using report builder. how to disable the print button in the print preview form?
kienwoon
一般會員


發表:3
回覆:4
積分:1
註冊:2004-11-25

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-12-16 17:47:31 IP:219.93.xxx.xxx 未訂閱
i have alternative solution for this problem but not disable the print button. Just before click the print button, i do some checking, so user can't preview then still print. Add a checking when create PrintDialoEvent ppReport.OnPrintDialogCreate := ppReportPrintDialogCreate; OnPrintDialogCreate Event Add ValidateChecking Example of ValidateChecking can be if pReport,DeviceType := 'Screen' then NotAllowToPrint ***But still wish to know how to disable the print button
writeman
初階會員


發表:31
回覆:34
積分:28
註冊:2004-02-17

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-12-16 22:28:35 IP:61.60.xxx.xxx 未訂閱
Hi There is a example. http://www.digital-metaphors.com/tips/PreviewerHidePrintButton.zip
kienwoon
一般會員


發表:3
回覆:4
積分:1
註冊:2004-11-25

發送簡訊給我
#4 引用回覆 回覆 發表時間:2004-12-17 14:13:25 IP:219.93.xxx.xxx 未訂閱
Thanks. That solve my problem. Very good. 發表人 - kienwoon 於 2004/12/17 14:17:08
系統時間:2024-07-01 14:43:20
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!