Visibility lazarus / 61-Beginners ---------------------------------------------------------------------- BLL · 2016-06-18 20:03 Hi, I am having problems and having googled, I am more confused! I have a unit which implements a thread timer, called uThreadTimer.pas On my main form, I have the declaration ThreadTimer:TThreadTimer in vars under implelentation. Also in implementation, I have uses uThreadTimer. I can issue the command ThreadTimer.StopTimer in the main unit fine. However, I also want to be able to stop the threadtimer from another form. How do I do it please, in simple steps? Answers from googling are as clear as mud! Thanks Brian ---------------------------------------------------------------------- molly · 2016-06-18 20:09 variables, constant, type and other declaration declared in the implementation section are not visible to other units that include such a unit. You would need to declare the variable in the interface section. Now, since you are using two forms i can see the following issue coming up already (circular reference). So therefor add a 3-th unit (without a form) and declare the variable inside there (in the interface section) and include that unit in the uses clause of both units that contains the (individual) forms. ---------------------------------------------------------------------- BLL · 2016-06-20 15:34 Hi Thanks for your advice. Brian