Page 2 of 2

Re: Force Cursor to Top of the screen during Data Entry

Posted: November 25th, 2016, 1:58 am
by yanina
Hi Expert

For setcapturetype and setcapturepos function:
Can I set it on entire form for all fields within it ? I tried but no affect at all.

Thanks

Code: Select all

PROC FORM1
setcapturetype(FORM1,1);
setcapturepos(FORM1,600,20);
Yanin

Re: Force Cursor to Top of the screen during Data Entry

Posted: November 27th, 2016, 8:34 am
by josh
That should work but you need to do it in the preproc of the form, not in the postproc as you have done. In the postproc the change is only made after you have finished the form.
PROC FORM1
preproc
setcapturetype(FORM1,1);
setcapturepos(FORM1,600,20);

Re: Force Cursor to Top of the screen during Data Entry

Posted: November 29th, 2016, 3:14 am
by yanina
Hi Josh

Marvelous .. marvelous. This thing absolutely save my time.
Million thanks that never end Josh.

Yanin