Figured it out. Really simple. You declare it in the TForm1 = class(TForm) area. But.....
How do you make sure that the object's constructor is called. I thought it was called automatically when the object was declared who assigned, but if you need to pass some data to the constructor and it...
I am having my first go at making a component and have a VERY basic question. Why is it that when I declare the component at the start in the VAR section it produces errors, but when I declare it in a procedure where it is not global it works fine.
The error is produced at runtime
Project...
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.