Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting Cancel Button
Message
From
15/01/2002 03:49:39
Peter Walburn
Omega Data Services Ltd
Aberdeen, United Kingdom
 
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00604194
Message ID:
00604743
Views:
24
>
>You can check the active control:
>
Private Sub Text1_LostFocus()
>    If Screen.ActiveControl.Name = "cmdCancel" Then Exit Sub
>
>    'Other validations here
>End Sub
Thanks,

This is the exact kind of thing I was looking for.

Pete
Previous
Reply
Map
View

Click here to load this message in the networking platform