Label Runtime Scale With Mouse

Discussion in 'C#' started by xzyfer, May 23, 2007.

  1. xzyfer

    xzyfer New Member

    Joined:
    May 23, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hey guys,

    i recently saw an application that allowed users to drag and drop labels and also scale them at runtime.

    i wish to emulate this behaviour, but although getting drag and drop functionality was easy enough, i have been unable to mimmic the runtime scaling with the mouse cursor alone.

    any ideas?

    much thanks, xzyfer
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    With scaling all you have to do is have the border of the label visible and then change the cursor to the needed one. Now in the Mouse drag event change the label size to something appropriate.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice