1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enable Dragging on borderless form

Discussion in 'C#' started by Umairajmal, Nov 4, 2012.

  1. Umairajmal

    Umairajmal New Member

    Joined:
    Dec 12, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Hazro,Pakistan
    Home Page:
    Hi guys,
    I am making an application. In which i set the border property of a form equals to none.
    By doing so i am facing a problem that is i can't drag that form.
    So i need help to solve this problem.
    Thanks in advanced.
    Regards,
    Umair Ajmal.
     
  2. Umairajmal

    Umairajmal New Member

    Joined:
    Dec 12, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Hazro,Pakistan
    Home Page:
    Sorry guys i forget to mention the language i am using.
    I am working in c#.
    So please help me.
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83
    You have to be tracking the MouseDown event and then do the form move with the mouse yourself.
     
    Umairajmal likes this.

Share This Page