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

Designer Form - TaskBar Problem

edited August 2007 in End User
Hello

i would like to show the Designer not modal, and i get some problems with
the task handling from windows

i use following code :

ppDesigner1.Show;

(*
SetWindowLong(ppDesigner1.Form.Handle,
GWL_EXSTYLE,GetWindowLong(ppDesigner1.Form.Handle, GWL_EXSTYLE) or
WS_EX_APPWINDOW);
ppDesigner1.Form.ParentWindow := GetDesktopWindow;
*)


i tried some things but nothing seems to help

the problem is, that i get an additional icon in the taskbar, but if i
switch to it, allways the main form gets in front

is there a workaround? (useing delphi 6)

some other workarounds i found for such thing, is to overwrite the
CreateParams of the form, but i tried it and after that i got some errors :
"raCalc is compiled with a different version of ppDsgn" - how can i change
this?

regards
andi

Comments

  • edited August 2007
    Hi Andreas,

    1. Which version of ReportBuilder are you currently using? In my testing
    with RB 10.06, clicking on either taskbar icon will bring the designer up as
    the focused form.

    2. Since we do not provide the source to RAP, you cannot alter any of the
    interface code of the RBuilder source and successfully compile. You will
    need to keep the changes to the implementation section or disable RAP.



    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2007
    i am using delphi 6 enterprise and RB 10.06

    only a ppDesigner1.show doesn't work in my application (tested XP and vista)

  • edited August 2007
    Andreas,

    Perhaps I'm misunderstanding the issue. Please give me the exact steps I
    can take to recreate the problem on my machine and I'll try it.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2007
    Use ppReportExplorer property ModalForm, set it to false.

    I
    schrieb
    of
    You
    disable
    i
    how



    --- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.