|
-
Mar 7th, 2003, 06:55 AM
#1
Thread Starter
New Member
Mouse Movement & Regions
Hi all,
My problem is i have a form which when i enter a region with the mouse on the form ie. an circle i want the background colour of the form the change and when i exit the region, (cirlce) the form will change back to it's origional colour.
I hope i have explained this well enough, if not reply and ask me. Hope you can help.
Thanks In Advance
Lee
-
Mar 7th, 2003, 07:07 AM
#2
Junior Member
Try this:
VB Code:
Private Sub PictureBox1_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseLeave
Me.BackColor = System.Drawing.Color.Red
End Sub
Private Sub PictureBox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove
Me.BackColor = System.Drawing.Color.Blue
End Sub
The arrow shot by the archer may, or may not, kill a single person. However, stratagems devised by a wise man, can kill even babes in the womb.
-
Mar 7th, 2003, 09:58 AM
#3
Thread Starter
New Member
i'm not using a picturebox, i'm using a Graphic (Vector graphics)
-
Mar 7th, 2003, 01:35 PM
#4
-
Mar 8th, 2003, 08:38 PM
#5
need any help? did it work or what?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
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
|