|
-
Jun 17th, 2003, 04:58 AM
#1
Thread Starter
Sleep mode
This must be easy ! Where're other events?[Resolved]
Where the hell did they go ? I wanted to add TextBox_Leave event but I can find only one event which is TextChanged !
Last edited by Pirate; Jun 17th, 2003 at 08:03 AM.
-
Jun 17th, 2003, 05:48 AM
#2
Frenzied Member
MS changed them. Try MouseLeave
-
Jun 17th, 2003, 05:55 AM
#3
Thread Starter
Sleep mode
. It's my bad luck . I think I would go back to VB . Anyways , is there something like this in C# ????
Private Sub TextBox1_Leave[/B](ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Leave
End Sub[B]
This simply , fires after focus leaves textbox .
-
Jun 17th, 2003, 06:50 AM
#4
Frenzied Member
Ok, I found it. Click on the yellow lightening bolt on the properties window. There you'll find Leave and Enter. After you double click leave, you'll see that the event handler is TextBox1_Leave.
Hope that helps.
-
Jun 17th, 2003, 07:24 AM
#5
in the windows generated code area put this :
Code:
this.textBox1.Leave += new System.EventHandler(this.textBox1_Leave);
then make your textbox_leave sub like this :
Code:
private void textBox1_Leave(object sender,System.EventArgs e)
{
MessageBox.Show("left textbox1");
}
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Jun 17th, 2003, 07:56 AM
#6
Thread Starter
Sleep mode
Hey DevGrp . I found it . That's a big change in VS.NET 2003 I guess . A lot more easier than before . Thanks
-
Jun 17th, 2003, 01:13 PM
#7
yay gay
hmm? the event's in C# ALWAYS were in the lightning icon in the property window
\m/  \m/
-
Jun 17th, 2003, 01:35 PM
#8
Thread Starter
Sleep mode
No .
-
Jun 17th, 2003, 02:47 PM
#9
PowerPoster
Yes, they were/are in 2002 and 2003.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|