Board index » delphi » Help-non-visual components without forms OR how to hide your main form
bad...@crow.delta-eng.com (William Holtz)
![]() Delphi Developer |
Fri, 01 May 1998 03:00:00 GMT
Help-non-visual components without forms OR how to hide your main form
I am working on a project where a simple app must be always running in
Windows to check a condition every minute or so. I would like the program to be hidden to the user so they can't easily terminate it and it is out of their way. I know if I edit the project source I can remove the form unit and the references to Application inorder to make my program formless, but I wanted to use the TTimer component in my app and I cannot figure out how to create an object at runtime without a form to pass as the parent. The help files suggest that 'Self' be used as the parent (Timer := TTimer.Create(Self)), but I get an error saying that it doesn't know what self is and the docs don't give a reference to a unit that defines Self. Once I gave up on going formless I tried to make a form and hide it in the So can anyone tell me how to do 1 of these Thanks for your time William Holtz |