Forum Discussion
tristaanogre
15 years agoEsteemed Contributor
On those kinds of situations, sometimes, after I perform the action (click, etc), I call the OnExit event handler directly. For example, in my previous life, I had a windows application that, after I typed a numeric value in a field, if I left the field, it would update other fields on the screen. In that situation, SetText didn't do what I needed it to do and I didn't want to use the Keys method. So, I called SetText and followed it up with a call do DoExit which simulated what would happen when I left the field.