Suppressing enter event

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Framework 1.1

How can I trap the enter event prior to it's being
raised and if need be suppress it?

Thanks in advance for your help,

Pete
 
The conventional way to do this is to override the protected OnEnter method.
In your override method, if you don't call the base's OnEnter method the
Enter event won't be raised (it's Control's own OnEnter method that actually
raises the event).

HTH,
Tom Dacon
Dacon Software Consulting
 
Back
Top