designDialog() crashes out

Stimulsoft Reports.Flex discussion
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

designDialog() crashes out

Post by brianj774 »

Oh ho ho!

I found that, when I leave the minimalistic module as is, and then I remove the initializate() code from my main app, THEN I get the problem.

But, for now, if I leave the

Code: Select all

StiDesignerFx.initialize();
in my main app, then remove it from the module, everything seems to work out correctly.

Is that then, what should happen in a modular app? SHould we initialize the Designer and Viewer as part of the main apps init processing?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

designDialog() crashes out

Post by Vladimir »

Hello,

This method has no code inside. It should be called only once in the main module during initialization of the project. Likewise, this method is not necessary if on any form is a visual DesignerFx component.

This method is intended for that the compiler added the DesignerFx code to the compiled application module, because if DesignerFx never declared, the compiler will assume that it is not used anywhere.

Thank you.
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

designDialog() crashes out

Post by brianj774 »

Excellent,

Thanks for the clarification. I understand it better, now.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

designDialog() crashes out

Post by Andrew »

We are always glad to help you.

Thank you.
Locked