System.Windows.Forms.FormStartPosition.CenterScreen

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Zabby

    #1

    System.Windows.Forms.FormStartPosition.CenterScreen

    hi...
    i draw a form dynamically with
    me.width=x
    me.height=y

    all works fine....
    but before i display the form, i want to set it to centerscreen with:
    Me.StartPositio n = System.Windows. Forms.FormStart Position.Center Screen

    this doesn´t work...
    it always move to center calculated by the x,y size of the given designer
    property for this form....
Working...