>I understand that there is quite a bit of various settings code stuffed into Activate(),
>so that when the user starts doing 'finger-excersises' wth the mouse, not all the code
>gets executed or its execution becomes sporatic...OK, then create a property
>and initialize it at design to .F. (it'll do it anyway), then at the top of the Activate()
>check for its value. If .F., then re-execute the code, else - Return. At the end of the
>Activate() set it to .T. On LostFocus() set it to .F. You can also minimize the time
>for doubleclicks, so that when the user goes crazy, the system will not interpret his
>clicks as single clicks, but will take them as DblClick. Does it all make sense? :)
I tried to have ThisForm.Enabled=.F. and oApp.oToolBar.Enabled=.F. but this doesn't avoid the click to be recorded. Anyway, it does not represent a problem because when the user will be back from this second form, he'll be back to the first form as it was suppose to be there in the first place. Thanks.