Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10163

Re: ReportPro 2.212 questions

Newsgroups comp.lang.clipper.visual-objects
Date 2017-02-15 23:47 -0800
References <3cc83e68-09f4-40d4-83b4-23dcb632e365@googlegroups.com> <6f5e4983-ce00-4188-8f87-d59cb5d01a43@googlegroups.com>
Message-ID <40af88d7-89ce-45b0-8564-e9eee868df91@googlegroups.com> (permalink)
Subject Re: ReportPro 2.212 questions
From Mathias <mathias.hakansson@consultec.se>

Show all headers | View raw


Hi,
the best thing about it is that you can override the window and make your own variant. If you look in the module "PtrDev_Preview DLG" in the ReportPro lib. you can see the methods that you can override. In your case you would want to override PrintBtn. It's easy to do someting extra and call super. This way you could have a boolean that decides if the window is allowed to close or not. If you override queryclose you can stop the window from closing when you don't want to.

/Mathias

Den torsdag 16 februari 2017 kl. 00:11:10 UTC+1 skrev jconr...@gmail.com:
> Thanks for your reply, 
> 
> Right now I look the #rpPrintPreviewMDI for MDI child window, but is same result, close PrintPreview when I click en the print button.
> 
> The truth is I have no idea if you can modify that behavior the ReporPro
> 
> 
> Regards!

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ReportPro 2.212 questions jconradomx@gmail.com - 2017-02-08 14:04 -0800
  Re: ReportPro 2.212 questions simon@abersoftware.co.uk - 2017-02-13 03:55 -0800
  Re: ReportPro 2.212 questions jconradomx@gmail.com - 2017-02-15 15:11 -0800
    Re: ReportPro 2.212 questions Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2017-02-16 00:24 +0100
    Re: ReportPro 2.212 questions Mathias <mathias.hakansson@consultec.se> - 2017-02-15 23:47 -0800
    Re: ReportPro 2.212 questions Willie Moore <williem@wmconsulting.com> - 2017-02-16 08:47 -0600
      Re: ReportPro 2.212 questions Mathias <mathias.hakansson@consultec.se> - 2017-02-16 23:36 -0800
  Re: ReportPro 2.212 questions jconradomx@gmail.com - 2017-02-18 08:07 -0800

csiph-web