Hello,
I have written a frame to handle input of addresses for my application which can now be used on any form.
I need to use the OnExit event of the frame to make sure the data is saved to the address table before the user continues editing the rest of the main form.
There seems to be a problem here, the OnExit of the frame seems to disrupt the transfer of focus to the component which has been selected on the main form, producing some strange side effects. Example, if you are using the frame and then press a button on the main form, the OnExit of the frame executes normally and focus moves to the button on the main form but the button does not press in, it has to be pressed again with the mouse.
Any ideas on how I can stop these side effects occuring?
Tim Dover
SNL Computing
I have written a frame to handle input of addresses for my application which can now be used on any form.
I need to use the OnExit event of the frame to make sure the data is saved to the address table before the user continues editing the rest of the main form.
There seems to be a problem here, the OnExit of the frame seems to disrupt the transfer of focus to the component which has been selected on the main form, producing some strange side effects. Example, if you are using the frame and then press a button on the main form, the OnExit of the frame executes normally and focus moves to the button on the main form but the button does not press in, it has to be pressed again with the mouse.
Any ideas on how I can stop these side effects occuring?
Tim Dover
SNL Computing