Page 1 of 1

DCGET ... COMBO KEYDROP

Posted: Wed Oct 07, 2015 2:52 am
by Tom
Hi, Roger.

If a get is empty and a valid character key is pressed with use of the "KEYDROP"-clause, the combo will pop up. But this won't happen if the GET is cleared or visited for the second time. This is because the iVar "comboFlag" is set to .T. when the keydrop fires for the first time - and it's never resetted again. A workaround in the get is this:

GOTFOCUS {|a,b,o|o:ComboFlag := .F.} ;

This helps if the get is visited for the second time, but not in the situation that it is cleared.

Re: DCGET ... COMBO KEYDROP

Posted: Thu Oct 08, 2015 8:25 am
by rdonnay
Tom -

I'll try to look into this soon.

Roger