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
statements
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: statements
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.
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.