Results 1 to 2 of 2

Thread: Text box help

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2001
    Location
    Ca
    Posts
    124

    Unhappy Text box help

    Hi all

    I need some help with this form that I’m making. I’m making a trigonometry application. So I have 3 angle text boxes and 3 side text boxes. The problem that I’m having is that if I fill in lets say 1 angle and 1 side and the rest of the text boxes are empty. How can I tell what has been filled in and what is empty. That way I can calculate the rest of the angles and the remaining sides.

    Any help would be appreciated

    Reston
    Last edited by tiguy; Jun 21st, 2006 at 10:30 PM.

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    Are the TextBoxes in a Control Array? or individual like: Text1, Text2 etc?


    And...
    VB Code:
    1. If Text1.Text <> "" Then
    2.     'Do your stuff
    3. End If

    That works for each TextBox, however, there is a quicker way than codeing each textBox, hence my questions above.



    Bruce.

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