sorry guys for this question!
But , how do i know when a texbox lost focus.
like in vb6 :
Private Sub TextSKU_LostFocus(Index As Integer).
Printable View
sorry guys for this question!
But , how do i know when a texbox lost focus.
like in vb6 :
Private Sub TextSKU_LostFocus(Index As Integer).
try this in a commandbuttonQuote:
Originally posted by Edilson
sorry guys for this question!
But , how do i know when a texbox lost focus.
like in vb6 :
Private Sub TextSKU_LostFocus(Index As Integer).
VB Code:
If TextBox1.Focus = False Then MsgBox("lost") Else MsgBox("got focus") End If
this is not an event.
i need to control when the user left the textbox.
Quote:
Originally posted by Edilson
this is not an event.
i need to control when the user left the textbox.
this is lostfoucs event of a textboxVB Code:
Private Sub TextBox1_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Leave End Sub
thank you !!!
Do i have to insert manually this sub or vb7 does it for me like in vb6 ???
nope . It is ready in "Method Name" Combobox on the right side.Quote:
Originally posted by Edilson
thank you !!!
Do i have to insert manually this sub or vb7 does it for me like in vb6 ???
thank you very much !!!!!!!!!:D