Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

RB 14.06 Ent: Errors with ShowMessage

edited September 2012 in General
Hello,

I finally made an update from RB12.05 to RB14.06 and I have some problems,
because the outputs are different. So I used the function "ShowMessage" from
Delphi to see some data.

For example, I write "ShowMessage ('hello');" in the
"DetailBeforePrint"-Event.

What happens? Sometimes the messages is displayed, sometime I can see an
empty message, sometimes the message is bigger than the complete screen and
sometime the message is in behind the report and it's not to see. The other
problem is that in this case all mouse-functions are disabled.

I try to explain better: I have opened RB in Full-Screen-Mode, set the
message in the "DetailBeforePrint"-Event and changed to the preview-tab.
Than I can see the message once and after that only a gray preview, in the
left down corner is "Drawing page 1 to ..." displayed. I can move the mouse
curser but I cannot click to anything. It seems that the computer hangs. But
the keyboard still works. I can press "Return" or "Esc" until the last
message is diplayed (in the background) and than I can work normally again.

The problems are also when the message is in the delphi source code.

I really need ShowMessage for debugging and it's now unsusable. BTW: No
problems in RB 12.05 Ent.

FYI: Windows 7 64bit (same on Windows 7 32bit), Delphi 7 Ent. with Patch 1
and RB 14.06 Ent.

Thank you in advance for any help.

Kind regards,
Gerd Brinkmann
invent GmbH

Comments

  • edited September 2012
    Hi Gerd,

    In my testing with RB 14.06, placing a ShowMessage inside the
    DetailBand.BeforePrint event functions as expected. The message is
    shown for each detail band printed and then the report is shown.

    If possible, please send a simple example demonstrating this issue that
    I can run here on my machine and I'll take a look at it for you. Send
    the example in .zip format to support@digital-metaphors.com.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2012
    Hello Nico,

    thank you for looking about this.

    I don't think, that I can make an example. The program that shows this
    errors its very difficult with 14 DBPipeline, 15 JitPipelines and 13 Querys,
    most of them with AfterScroll-Functions. I know, that I can use ShowMessage
    zhere with RB12.05 and the problems are in RB14.06.

    Okay, forget this problem. When I find something new about this, I will post
    it here.

    Thanks again and kind regards,
    Gerd Brinkmann
    invent GmbH


  • edited September 2012
    Hi Gerd,

    Let me know if you are able to recreate this, I would be interested in
    finding the problem.

    An alternative way to debug RAP code is by using Codesite. See the
    CodeSite demo located in the \Demos\0. RAP\2. CodeSite\ directory.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.