Recent

Author Topic: Application.ProcessMessage from other unit  (Read 8447 times)

faber

  • Guest
Application.ProcessMessage from other unit
« on: September 08, 2008, 06:33:28 pm »
How to ? I want to refresh app from function in other unit (unit without any forms). I try to call by name of mainForm unit:
mainU.Application.ProcessMessage;
but a get Identifier not found.

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1935
RE: Application.ProcessMessage from other unit
« Reply #1 on: September 08, 2008, 06:49:34 pm »
Add unit "Forms" to the uses clause of your unit. Then Application.ProcessMessages will work.

 

TinyPortal © 2005-2018