error number 516

Started by Marc Van Cauwenberghe, January 10, 2005, 01:53:08 PM

Previous topic - Next topic

Marc Van Cauwenberghe

Hello,

since I renamed a form from frmTABFacturatie to frmTABSecFacturatie I get this error if I compile my program for the first time after loading. I get "required: FRMTABFACTURATIE_SHOW", "TCITEM.lparam = FRMTABFACTURATIE_show(...".  When I rename the form back to frmTABFacturatie, compile  and then back again to frmTABSecFacturatie all is ok for that sesion.  The next day same thing.
Strange isn't it.

Marc

Any thoughts?

TechSupport

Thanks Marc,

You are right, this is a bug. It seems to occur when the name changes for a form that is designated as a "TabControlChild".

I will fix for the upcoming version 1.11.

TechSupport

Okay, this is now fixed. I had code that did the association when the name was changed, but I did not set a "dirty" flag to indicate to the program that the Form would need to be saved when the user attempted to exit FireFly. Therefore, if you did not manually save or compile/run after doing the name change, then the change would be lost and the error would trigger because the name stoeed in one place did not match the name stored in another place.