Subject Re: Simulate left mouse click
From Mervyn Bick <invalid@invalid.invalid>
Date Mon, 19 Feb 2018 22:30:51 +0200
Newsgroups dbase.getting-started

On 2018-02-19 10:00 PM, Tom wrote:
>
> dBase Plus 11.3.0
> Windows10 Pro
>
> I get the following error messages when clicking on the pushbuttons. I
> did not test all the pushbuttons.
>
> Sorry,
>
> Tom

Strange. On my computer (dBASE 11.3, Windows 10) Wander worked althout
teh other buttons gave the form.xcorrection error.

A quick look in the .cc shows that form.xcorrection and form.ycorrection
are set up in the 'catch' section of a try...endtry in
MouseEventsOnOpen.  The code in the 'try' section is
_app.executeMessages().  As this is not failing the 'catch' isn't
executed.

I copied the 'catch' code into the 'try' section.  This got rid of the
errors but the results of clicking on the various buttons are a bit
peculiar.   It's too close to bedtime to dig further now.

Mervyn.