-
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()
-
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
-
Re: me