Visual Studio Development Bookmark and Share   
 index > Crystal Reports for Visual Studio > form start position on exact mouse position
 

form start position on exact mouse position

I want to display a form in the exact position where my mouse points.i am displaying the form on mouse hover of an image in the listview in another form.pls help me.
Sunil.allies  Tuesday, October 06, 2009 7:23 AM
Thks for reply it almostly worked..
Sunil.allies  Saturday, October 10, 2009 10:51 AM
Hi Suni,

Check this code... write this code in hover of picturebox... it will work....

        Dim X As Integer, Y As Integer
        X = MousePosition.X
        Y = MousePosition.Y
        Dim d As New Dialog1()
        d.StartPosition = FormStartPosition.Manual
        d.Left = X
        d.Top = Y
        d.ShowDialog(Me)

Sharp Eyes
Sharp Eyes  Tuesday, October 06, 2009 12:43 PM
Thks for reply it almostly worked..
Sunil.allies  Saturday, October 10, 2009 10:51 AM

You can use google to search for other answers

Custom Search

More Threads

• Crystal Reports multiple columns
• How to display crystal report in the asp.net
• Nested IIF problem
• Queries on crystal report
• Crystal report crashes when non admins try to run
• Display string in Crystal Reports in c#.NET
• A good book
• Bar chart : Inserting a static trenline
• Is it royalty-free to redistribute CRRedist2008_x86.msi ??
• Groups don't 'Keep Together' in web page display