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

Designer won't show anymore in delphi IDE

edited November 2005 in General
Hi,

I was working on a 'big' report (switching from preview to designer mode) in
delphi IDE when a 'priviliged instruction' exception occured. After that
(even after rebooting) the designer won't show anymore when opening a
new/existing report in delphi IDE. Rebooting doesn't help. Some help would
be greatly appreciated?

Greetings,
Filip Moons

Comments

  • edited November 2005
    Fixed. Left/top designerform coordinates in C:\WINNT\RBuilder.ini where
    messed up

    [Designer Position]
    WindowState=0
    Left=-32000
    Top=-32000

  • edited November 2005
    Dialog form 'Save changes' sideeffect...
    -When i open a form containing a report, open/close the containning report
    without changing anything and close the form the
    Dialog form 'Save changes' pops up. I tried saving but the same behavior
    occurs when reopening form/report and closing report/form without changing
    anything, the Dialog form will popup. If i compare the dfm's before/after no
    differences are found.
    -When i open a form containing a report and close the form the Dialog form
    'Save changes' won't pop up.

    What's happening???


  • edited November 2005
    Hi Filip,

    Is this happening at design time or are you using the TppDesigner component
    at runtime? Is your SaveAsTemplate property set to True?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2005
    Hi Nico,

    Its happening at design time. It's for both, reports with 'SaveAsTemplate'
    False/True have the same behavior

    New project with newly dropped report
    -New application
    -Drop report component <------ (SaveAsTemplate = false)
    -Save All
    -Close All

    Reopen project
    -Reopen
    -Right Click report component 'Report Designer'
    -Close designer
    -Close form > Dialog Form 'Save changes'

    Greetings,
    Filip Moons

  • edited November 2005
    Hi Filip,

    This is actually the Delphi IDE letting you know that the code in your unit
    has changed, which is true. You'll notice that when you simply place a
    report on a form, only the TppReport object is declaired, however if you
    open the designer, the default bands TppHeaderBand, TppDetailBand, and
    TppFooterBand are also created and declaired. This is necessary to be able
    to directly reference these objects. Delphi is just making sure you want to
    keep those changes.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2005
    No, it isn't that. EVERY time you open the report and close without changing
    and even save, it will ask 'save changes' over and over again the next time.
    Something is messed up. My collegue's comp doesn't show the same behavior,
    bsides mine didn't either before the trouble this morning.

  • edited November 2005
    Hi Filip,

    This is not a known issue. If I reload the project, then double click on
    the report object to load the designer, then try to close without changing
    anything, I do receive a save dialog. This seems to be a Delphi quirk
    because the same behavior occurs for instance if I were to place a TeeChart
    on the form as well. On my machine, if I save (ctrl-S) before closing, the
    save dialog does not appear.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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