Example:

  1. If ControlID$ = "Chk2" Then

    1. DlgText "History", "Push to display nested dialog"

    End If