Discussions about CSEntry
Posts: 1
Joined: September 13th, 2018, 1:48 am


Postby abettizzo1 » September 13th, 2018, 2:27 am

hello, i seem to have some confusion on the following statements:
1. onfocus
2. killfocus
please can you tell me how i can use these 2 statements

waiting your help

Gregory Martin
Posts: 1094
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: statements

Postby Gregory Martin » September 13th, 2018, 10:17 am

Have you read the helps on these statements? ... ement.html ... ement.html

Almost no application will ever use killfocus. Onfocus is useful though for CAPI applications. It is triggered when moving both forwards and backwards into a field, unlike preproc which is only triggered when moving forwards.

Generally you will use onfocus when constructing a dynamic value set on a roster. Because you may move backwards into a previous row, you will want the value set to be recreated every time that you get to the the field.

Return to “Entry”