How to move or change the size of a button at runtime in vb.net?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Prathap
    New Member
    • Nov 2011
    • 37

    How to move or change the size of a button at runtime in vb.net?

    I am using vb.net,is it possible to change the size or place of a button at run time.I meant we can click and drag the button to increase the size or move? could someone help?
    Thanks in advance
  • yarbrough40
    Contributor
    • Jun 2009
    • 320

    #2
    javascript

    I'm thinking you'll need to use javascript to manipulate the style attributes of the button object.
    width,height for sizing and left,top for location on the screen. Also set the positioning attribute to absolute

    Comment

    • Prathap
      New Member
      • Nov 2011
      • 37

      #3
      Thanks for your concern yarbrough40.
      I am using vb.net,its solved.

      Comment

      Working...