View Single Post
Old 02-14-2017, 04:07 PM
Cerian Knight's Avatar
Cerian Knight Cerian Knight is offline
Polymath (in disciplina)

Super Moderator
* Expert *
Join Date: May 2004
Location: Michigan
Posts: 4,206

First, confirm this works for you in a new project:
'Create a new Windows Forms project and add a TextBox and Button to the form
Public Class Form1
    Private Sub TextBox1_Validated(sender As Object, e As EventArgs) Handles TextBox1.Validated
        MsgBox("Warning message", vbCritical)
    End Sub

    Sub RefreshFields()
        For Each ctrl As Control In Controls
            If TypeOf ctrl Is TextBox Then
            End If
    End Sub
End Class
I got all the answers wrong on the GLAT, apparently even #9 (where I put a period in the middle of the box and labeled it 'singularity ripe for rapid inflation').
Reply With Quote