Archive for the 'Delphi' Category

Dynamic Updating of Action Visibilities

Problem: You want to change an action’s visible property and does so in its OnUpdate event handler, but it doesn’t seem to work. Once an action is hidden it can’t seem to become visible again.  Solution: By design Delphi won’t invoke OnUpdate event handlers for actions that have their Visible property set to false. Instead, […]

How To Create a Tray Icon Controlled Application in Delphi

Problem: We want to create a System Tray Icon featured application that doesn’t shut down when the user closes the main window. Instead, the form simply hides and is reactivated when the user clicks the associated tray icon. Solution: Tested in Delphi 2009. 1. Hide the main form. Since closing the main form automatically terminates […]