cancel pending message?
Posted: Mon Jan 31, 2022 6:07 pm
Hi folks,
I have a field and two handlers that are triggered by exiting the field: CloseField that is triggered if you make changes to the field (and exit) and ReturnInField which is triggered if you just leave the field (without making changes, using the return key). But in fact, if closeField is triggered ReturnInField is also triggered and that is not the behavior I want. What it boils down to is this; if CloseField is triggered I want to prevent ReturnInField from being executed. Any suggestions on how I might do that? I took a look at the pending messages but there was nothing in there that looked remotely connected with ReturnInField.
Thanks,
Mark
I have a field and two handlers that are triggered by exiting the field: CloseField that is triggered if you make changes to the field (and exit) and ReturnInField which is triggered if you just leave the field (without making changes, using the return key). But in fact, if closeField is triggered ReturnInField is also triggered and that is not the behavior I want. What it boils down to is this; if CloseField is triggered I want to prevent ReturnInField from being executed. Any suggestions on how I might do that? I took a look at the pending messages but there was nothing in there that looked remotely connected with ReturnInField.
Thanks,
Mark