(ISTAT('FORM_CONTROL_TYPE'))
FORM_CONTROL_TYPE returns a value based on which object has focus when the entry/exit procedure containing the ISTAT function is run. Returns the following.
0 |
No current control |
1 |
Edit Field |
2 |
Combo Box |
3 |
Check Box |
5 |
Radio Button |
7 |
Push Button |