Results 1 to 16 of 16

Thread: validate event

Threaded View

  1. #15

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    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
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width