I have a button on my main form that hides the main form. After creating a form from within the script, on a dblclick of the listbox also created from the script, I have a button that shows the main form. After hiding,showing,hiding,showing,etc. about 30 times, I get an ‘Out of Range’ Error ? Any Ideas? There should be nothing happening except Form.show and form.hide. It gets the error from the following line:
Decl := TPSInternalProcRec(Self^.Se.FProcs[Self^.ProcNo]).ExportDecl;
Do you have any ideas?