Home Up Products News Contents Services

 

Ok, most of you will want to have a little more control over the way the component integrates with your application.  You can change the default settings in the object inspector to vary the way the component responds to your application.  You can for example decide not to display the about box at startup and enter the code to do so at some other point in the code.  For example from a Help menu option for 'About' or 'Register' Application,  the code is extremely simple.  The default name of the component is 'AppLock1'  so by adding AppLock.Execute to the code, the about box will be displayed.  You can use any one of the four events of the component, to trigger responses in your application, for example the OnRegistrationFailure could be used to disable maybe printing, or anything else you wish in order to entice the user to register the application.  There are example projects on the examples page that you can download and look at.  

It is also just as easy to add the component to existing projects, just drop it on the form and either let it operate in its default state, or add the small amount of code necessary to enable it to operate how you want it to.

<<Back

Send mail to kinson.software@eclipse.co.uk with questions or comments about this web site.
Copyright © 1999 Kinson Software
Last modified: December 23, 1999