PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Marc Van Cauwenberghe on January 10, 2005, 01:53:08 PM

Title: error number 516
Post by: Marc Van Cauwenberghe on January 10, 2005, 01:53:08 PM
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?
Title: error number 516
Post by: TechSupport on January 10, 2005, 03:28:29 PM
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.
Title: error number 516
Post by: TechSupport on January 10, 2005, 05:17:36 PM
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.