Hi Andrus,
>Where to put on key label mouse code?
>My usual forms don't need it. on key label must be put to form
>init but the init does not fire.
You can place it into the startup code of your application, since it's transparent to the rest of your application:
ON KEY LABEL LEFTMOUSE DO LMouseHandle
In the lMouseHandle Procedure you can USE MWINDOW() to determine the name of the window where the user just clicked. If it's one of your edit windows, you activate the proper form.
>How to use deactivate for this ?
In the Deactivate you can check whether the currently active window is one of the edit windows and in this case activate the form that belongs to this edit window.
Christof
--
Christof