Results 1 to 4 of 4

Thread: [Resolved]Help in VB 2005

Threaded View

  1. #1

    Thread Starter
    Lively Member sinchan's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    106

    Resolved [Resolved]Help in VB 2005

    I am very new at VB 2005. I used to clear my TextBoxes on the form by using following code in VB6.

    I call a procedure from Module named ResetForm

    VB Code:
    1. Sub ResetForm()
    2.      DIM CTRL as Control
    3.      For Each CTRL in Me.Controls
    4.           If TypeOf CTRL Is TextBox then _
    5.                CTRL=vbNullString
    6.      Next
    7. End Sub

    I have used more than one GroupPanel on the form. Whenever I debug the program, It does not go to the control which are in the GroupPanel.

    I want to check each control in each GroupPanel.

    So, please help me out....
    Last edited by sinchan; Nov 23rd, 2006 at 02:06 AM.
    i love VB more than BV(means wife in our language)

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