||Re: attachment for mv_mail programm
Mervyn Bick <firstname.lastname@example.org>
||Sat, 18 Nov 2023 09:21:54 +0200
On 2023/11/18 09:07, Mervyn Bick wrote:
> The example form uses code ("stolen" from Marc van den Berghen MANY
> years ago :-) ) to deselect the first entry in the listbox so that the
> user starts with a clean sheet. This is only possible where the
> listbox's multiple property is set true. The user can, of course still
> select the first entry if required.
The code to deselect the first entry in the listbox simulates a left
button click on the first entry 10 pixels from the top of the listbox
and 10 pixels from the left with the ctrl key held down. In order for
dBASE to know exactly where to simulate the left-click the form's metric
needs to be in pixels.