Reparenting designer window
Hi there
I'm trying to reparent the designer window by handling the OnActivate method
of TppDesigner and setting the designer window's parent property. This seems
to work but whenever I click in the designer workspace I get an access
violation. Strangely, if I toggle between designer tabs (e.g to preview and
back to main designer page) the problem goes away and I can click and drop
components into the workspace without any problems.
I can't ask users to click on the tabs before editing reports, and
programatically toggle the tabs doesn't appear to work. What am I doing
wrong, or shouldn't I be trying to reparent the designer window at all?
Thanks
Tom
I'm trying to reparent the designer window by handling the OnActivate method
of TppDesigner and setting the designer window's parent property. This seems
to work but whenever I click in the designer workspace I get an access
violation. Strangely, if I toggle between designer tabs (e.g to preview and
back to main designer page) the problem goes away and I can click and drop
components into the workspace without any problems.
I can't ask users to click on the tabs before editing reports, and
programatically toggle the tabs doesn't appear to work. What am I doing
wrong, or shouldn't I be trying to reparent the designer window at all?
Thanks
Tom
This discussion has been closed.
Comments
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com