disable print button in print preview form |
尚未結案
|
kienwoon
一般會員 發表:3 回覆:4 積分:1 註冊:2004-11-25 發送簡訊給我 |
|
kienwoon
一般會員 發表:3 回覆:4 積分:1 註冊:2004-11-25 發送簡訊給我 |
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 發送簡訊給我 |
|
kienwoon
一般會員 發表:3 回覆:4 積分:1 註冊:2004-11-25 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |