I know about FormCreate and FormDestory, when I add them via the form, the stubs are generated as "published", not private. They work fine when visibility is published, but I get a runtime error if FormCreate is private (as in your code).
Unfortunately, I don't have the source for the ACR...
Thanks for your response. I'm used to coding in Java or C. I'm trying to imitate a Java private variable (I think it is the same in Delphi).
I had to make a few changes to your code to make it compile.
unit DatabaseForm2;
interface
uses SysUtils, Forms, Dialogs, Classes, ACRMain, Db...
I'm pretty new to Delphi, and I'm not very clear about how classes work yet in Delphi.
Here is my code:
unit DatabaseForm;
interface
uses
SysUtils, Forms, Dialogs, Classes, ACRMain, Db, Utility;
type
TDBForm = class(TForm)
private
{ Private declarations }
SSA_Database...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.