Subject |
Re: keyboard method |
From |
Akshat Kapoor <akshat.kapoor@kapoorsons.in> |
Date |
Wed, 18 Mar 2020 20:12:23 +0530 |
Newsgroups |
dbase.getting-started |
On 18.03.2020 19:09, Steven Ellis wrote:
> Used dBase IV a million years ago so trying to get back up to speed and working through the tutorial. On dBase 2019. Working to create the custom controls. When I enter: onGotFocus = this.keyboard( "{Home}"), dBase does not recognize the keyboard (pretty much completely shuts the form down i.e. unable to even close the form). Apologize if this has been asked but I did not see it with the keyboard keyword.
>
Good Evening Steven,
I have not used 2019 but till 12 the following code worked
function MDESCRIP_onGotFocus()
this.keyboard( "{End}" )
return
If you are using it as a part of constructor code of the entryfield then
you would probably be required to use a different syntax
onGotFocus = {||this.keyboard( "{Home}")}
{|| } will indicate to dBase that it is executable code.
Apart from this there is a group specifically related to issues with
tutorials.
If this does not solve your problem then you can try posting the issue
there.
Regards
Akshat
|
|