Results 1 to 3 of 3

Thread: me

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2011
    Posts
    65

    me

    Hi what does me do in visual basic? My textbook mentions nothing of it except for the example where me is in the code.

    Code:
    'This event handler allows the user to enter the island choise
            'and then calls subprocedures to place the island activites in the list.
    
            Dim intIslandChoise As Integer
    
            intIslandChoise = Me.cboIsland.SelectedIndex
            lstTours.Items.Clear()
            Select Case intIslandChoise
                Case 0
                    ArubaTours()
                Case 1
                    JamicaTours()
                Case 2
                    KeyWestTours()
            End Select
            'Make Items Visible in the Window
            lblParty.Visible = True
            txtNumberInParty.Visible = True
            lblSelect.Visible = True
            lstTours.Visible = True
            btnFindCost.Visible = True
            btnClear.Visible = True
            lblTourType.Visible = True
            lblCost.Visible = True
            lblLength.Visible = True
            ' Clear the labels
            lblTourType.Text = ""
            lblCost.Text = ""
            lblLength.Text = ""
    
            'Set the focus on number party text box
            txtNumberInParty.Focus()

  2. #2
    New Member
    Join Date
    Jan 2012
    Posts
    4

    Re: me

    it points to the current form or class, i believe

    me.textbox1 would just represent textbox1 on the current form

    somebody correct me if im wrong

  3. #3

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