none
Button Movement from left to right on windows Form using Powershell RRS feed

  • Question

  • Hi,

    Right now button is on the left side with below size location,I want to move this button to right side.

    I tried with different values but could not succeed,please give your inputs to get the exact position

    $ConnectSideViewButton = New-Object Windows.Forms.Button
    $ConnectSideViewButton.text = "Connect"
    $ConnectSideViewButton.Size = New-Object Drawing.Point 200,30
    $ConnectSideViewButton.Location = New-Object Drawing.Point 5,20

    


    Thanks & Regards, Sudheer

    • Moved by Bill_Stewart Wednesday, September 4, 2019 7:47 PM Unanswerable drive-by question
    Tuesday, April 2, 2019 4:16 AM

All replies

  • There is not enough information to understand what you are asking.  To  move a button just set its location.


    \_(ツ)_/

    Tuesday, April 2, 2019 5:12 AM