statements

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
abettizzo1
Posts: 1
Joined: September 13th, 2018, 1:48 am

statements

Post by abettizzo1 »

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: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: statements

Post by Gregory Martin »

Have you read the helps on these statements?

http://www.csprousers.org/help/CSPro/on ... ement.html
http://www.csprousers.org/help/CSPro/ki ... 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.
Post Reply