Multiple Task Bar Entries
Hi,
One minor annoyance with RB is that it seems to spawn a second application
entry on the task bar when the designer is visible -- even though the
designer is executed modally.
This causes some strange effects. For example, if you open a dialog in the
report designer and ALT-Tab away. If you return to the main app (rather than
the second RB task) the report builder dialog becomes visible, but the other
dialog is "hidden". You have to ensure you ALT-TAB back to the RB task.
Is there anyway to prevent RB from spawning a second task on the task bar?
Thanks,
Brett
One minor annoyance with RB is that it seems to spawn a second application
entry on the task bar when the designer is visible -- even though the
designer is executed modally.
This causes some strange effects. For example, if you open a dialog in the
report designer and ALT-Tab away. If you return to the main app (rather than
the second RB task) the report builder dialog becomes visible, but the other
dialog is "hidden". You have to ensure you ALT-TAB back to the RB task.
Is there anyway to prevent RB from spawning a second task on the task bar?
Thanks,
Brett
This discussion has been closed.
Comments
This behavior was added as a "feature" because many of our customers
requested the preview form be accessable from the Window's task bar rather
than minimizing it to the bottom left corner of your screen (like RB 6). It
is very tricky to find common ground for all our customers' needs.
You can easily revert the way RB 7.03 works back to the way RB 6 did.
To revert back to the way RB 6 worked you will need to change two lines of
code in the ReportBuilder Source...
- In the ppDsIntf.pas, comment out the following line of code from the
TppComponentDesigner.CreateParams method.
Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW; {Remove this line}
- Comment out the same line of code from the ppExpFrm.pas file inside the
TppReportExplorerForm.CreateParams method.
------
As a test, try just removing it from the ppExpFrm.pas file and leaving it in
the ppDsIntf.pas file. This will give you a new configuration that may be
helpful. Be sure you're library path is pointing towards RBuilder\Source
before you rebuild your application or you will not see the changes. Hope
this helps.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks.
It
I can see wishing to have the separate task bar entry on Show, but it
creates stange behaviour on ShowModal. Switch or option would be nice also.
It is great having the source code, and while I'm not a big fan of changing
source code, this is pretty small and easy to document.
Thanks,
Brett