Drag and drop a control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • anujithsankar@gmail.com

    #1

    Drag and drop a control

    Hi All,

    Is it possible to drag a control and move to a desired location on the
    form. I have developed an user control and would like to give the user
    to arrange the user controls according to his wish during run time. I
    can find code where data is dragged and dropped to a target. But in
    this case, there will be no target. The user can drag the control and
    place anywhere on the form (GUI).

    Application is to be developed on VB.NET 2003.

    Thanks in Advance,

    Boss

  • Johnny Jörgensen

    #2
    Re: Drag and drop a control

    Try looking at these:





    Cheers,
    Johnny J.




    <anujithsankar@ gmail.comwrote in message
    news:1183016272 .206219.67650@e 9g2000prf.googl egroups.com...
    Hi All,
    >
    Is it possible to drag a control and move to a desired location on the
    form. I have developed an user control and would like to give the user
    to arrange the user controls according to his wish during run time. I
    can find code where data is dragged and dropped to a target. But in
    this case, there will be no target. The user can drag the control and
    place anywhere on the form (GUI).
    >
    Application is to be developed on VB.NET 2003.
    >
    Thanks in Advance,
    >
    Boss
    >

    Comment

    • Rory Becker

      #3
      Re: Drag and drop a control

      Is it possible to drag a control and move to a desired location on the
      form. I have developed an user control and would like to give the user
      to arrange the user controls according to his wish during run time. I
      can find code where data is dragged and dropped to a target. But in
      this case, there will be no target. The user can drag the control and
      place anywhere on the form (GUI).
      A commercial option from Developer Express : http://www.devexpress.com/Products/N...LayoutControl/

      --
      Rory


      Comment

      • rowe_newsgroups

        #4
        Re: Drag and drop a control

        On Jun 28, 3:46 am, "Johnny Jörgensen" <j...@altcom.se wrote:
        Try looking at these:
        >

        >
        Cheers,
        Johnny J.
        >
        <anujithsan...@ gmail.comwrote in message
        >
        news:1183016272 .206219.67650@e 9g2000prf.googl egroups.com...
        >
        Hi All,
        >
        Is it possible to drag a control and move to a desired location on the
        form. I have developed an user control and would like to give the user
        to arrange the user controls according to his wish during run time. I
        can find code where data is dragged and dropped to a target. But in
        this case, there will be no target. The user can drag the control and
        place anywhere on the form (GUI).
        >
        Application is to be developed on VB.NET 2003.
        >
        Thanks in Advance,
        >
        Boss
        Also, if the OP is interested in allowing the user to resize his
        movable controls the following should help (shameless!):



        Thanks,

        Seth Rowe

        Comment

        Working...