Results 1 to 2 of 2

Thread: Simple API (tooltips)

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2001
    Location
    Dominican Republic
    Posts
    46

    Simple API (tooltips)

    is simple... i need a API to display when i want an information of a textbox... for example when the date is invalid, apears a tooltip saying "invalid date" or something like that... i can use a simple API for it? send me someone!!!!

  2. #2
    Matthew Gates
    Guest
    Use the IsDate function.


    Code:
    Private Sub Command1_Click()
    
        If IsDate("2/29/2001") Then
            Msgbox "Date valid"
        Else
            Msgbox "Date invalid"
        End If
    
    End Sub
    
    Private Sub Command2_Click()
    
        If IsDate("2/29/2000") Then
            Msgbox "Date valid"
        Else
            Msgbox "Date invalid"
        End If
    
    End Sub

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