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

Reparenting designer window

edited March 2002 in General
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

Comments

This discussion has been closed.