>What if your form have no menu, just a form with few buttons for quick data entry. When I added "Read Event" in the form's init() it made no different if I have it or not. Where exactly should I place the "Read Event" so it will work properly?
>
>Could this be done WITHOUT the following code added?
>
>*Startup.prg
>
>DO FORM C:\test\form1.scx
>Read Events
>
You should be able to place the READ EVENTS as you show above, then execute the CLEAR EVENTS in the form when the user clicks the "Exit"/"Quit"/"Close" button or whatever on the form to shut down the form. You'll need to account for the user clicking the form close (X) button to exit the form. This will fire the QueryUnload event in which you can invoke the CLEAR EVENTS.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.