Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. crockeea

    Private variables cause exceptions, how to use RegisterClass?

    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...
  2. crockeea

    Private variables cause exceptions, how to use RegisterClass?

    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...
  3. crockeea

    Private variables cause exceptions, how to use RegisterClass?

    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...

Part and Inventory Search

Back
Top