Maximum number of forms?

Hi,

I just set the tracing on, on the application server and one of the messages I see, is the following:

FormPanel ‘event_main’ created, Loaded forms: 1 of 128 (max).

Does dit mean that Servoy limits the number of forms to 128 (per solution? per module?)
Because in that case there is a serious problem.

Please make this clear

Martin

Offcourse not :D

This is the number of forms that can be loaded into memory at runtime, before Servoy starts unloading forms that aren’t displayed, to make sure you’re not running out of memory.

Paul

Paul,

Does this mean that when Servoy is unloading forms (which I don’t know), then the onLoad event is triggered again when Servoy loads the form again?
Because that can have impact on my solution, because I expected an onLoad event to be called just 1 time (unless I remove the form in my script)

By the way, my solution now has 573 forms and still going on. I think at least other 500 forms to go.
I guess one day I’ll have situation that I have 128 forms loaded

Martin

Yes, onLoad can be called multiple times per client session: everytime the form is loaded. When a form gets unloaded, the onUnLoad event on the form is called.

Paul

Yes, forms can be re-loaded.