|
|
TDeactMinCloseFreeware with source! DescriptionMinimize and close your application if it is idle for some time or if you switched to another application and had forgot this one.
Propertiesproperty DeactivateToMinimize : LongintTime (in minutes) to wait for you to return back in your application. If expired, app will minimize itself.Default 0 means: Don't minimize my application when I switch to another application. property IdleToMinimize : LongintTime (in minutes) to wait for you to return back and continue working within your application. If expired, app will minimize itself.Default 0 means: Don't minimize my application even if I am not working with it. property MinimizeToClose : LongintTime (in minutes) to wait for you to restore back your application. If expired, app will close itself.Default 0 means: Don't close my application, leave it minimized. If you leave default values for all properties, (Don't minimize my application even if I am not working with it and don't minimize my application when I switch to another application and don't close my application, leave it minimized) then DON'T USE this component at all, MS will do the rest for you. . EventsThere are only two events defined for this component. OnClose and OnMinimizeevent OnClose(Sender : TObject)Specify what you have to do when the application is about to be closed.Don't forget to explicitly close it after your closeup code. Only if you don't define this event, application will be closed with Application.Terminate. event OnMinimize(Sender : TObject)Specify what you have to do when the application is about to be minimized.Don't forget to explicitly minimize it after your code. Only if you don't define this event, application will be minimized with Application.Minimize. Description Properties Events Feedback Download |
Copyright © 2001 Database4YoU Last modified: April 17, 2001 |