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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by frank77

  1. frank77

    Need help with threading a desktop alert

    The 'Synchronize' marshals the call back to the main thread so you are not really achieving anything by using a thread here. You need to make the alert.Execute non-modal.
  2. frank77

    Cannot make a visible window modal

    rather than calling 'Close' you should do ModalResult := mrCancel; which will close the form. (you could also set the ModalResult property of the button to mrCancel and then you wouldn't need the event handler)
  3. frank77

    Inheritance Question

    I think there is a misunderstanding here, Form1 is a variable which points at an instance of tForm1. That instance of tForm1 does not know about the variable Form1 and the only reason the first example works is because Form1 is global, and you *know* that it is pointing at the tForm1 instance...

Part and Inventory Search

Back
Top