CAPI SC can't clear errmsg() box with ESC key (Bug?)
Posted: April 13th, 2013, 4:29 pm
Hi,
I am developing CAPI (System Controlled) application and I found out that there is a difference in the behavior of CsPro regarding closing/clearing system generated pop up message box (e.g., WARNING: Out of range ...) and errmsg() function (e.g., "You cannot mix entered value with ...). The former can be cleared with ESC key while the latter is not. The errmsg() function message box can be cleared only by clicking the "OK" button and since the button doesn't have the focus, you cannot clear it with ENTER key. Is it a BUG? or is it design related difference. You might think that this is trivial, but since CAPI is supposedly used while interviewing the respondent using one hand to hold the laptop/netbook and the other to type the data, it is much easier to press just one key to clear the message rather than using the touch pad. Plus of course there will be uniformity in the instruction to the interviewer.
A workaround for this is to use accept() function but that is not a good idea for an application with three (3) languages. Hope you can help me on this.
I am developing CAPI (System Controlled) application and I found out that there is a difference in the behavior of CsPro regarding closing/clearing system generated pop up message box (e.g., WARNING: Out of range ...) and errmsg() function (e.g., "You cannot mix entered value with ...). The former can be cleared with ESC key while the latter is not. The errmsg() function message box can be cleared only by clicking the "OK" button and since the button doesn't have the focus, you cannot clear it with ENTER key. Is it a BUG? or is it design related difference. You might think that this is trivial, but since CAPI is supposedly used while interviewing the respondent using one hand to hold the laptop/netbook and the other to type the data, it is much easier to press just one key to clear the message rather than using the touch pad. Plus of course there will be uniformity in the instruction to the interviewer.
A workaround for this is to use accept() function but that is not a good idea for an application with three (3) languages. Hope you can help me on this.