|
-
Mar 28th, 2001, 07:38 AM
#15
Thread Starter
Fanatic Member
validate event
How I setting the causes validation property from Cancel Button ?
the textbox is with focus, only in second click It look the variable tmp = true
Dim tmp As Boolean
Private Sub Command1_Click()
tmp = True
End Sub
Private Sub Text1_Validate(Cancel As Boolean)
If tmp = True Then Exit Sub
MsgBox "hello"
End Sub
Please help me
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|