Notifications
Clear all
[Closed] minimum form size
Dec 02, 2009 11:07 am
Hi
Is posible to set a form size to 40×40 (with hidden controlbox) ?
works:
form = dotnetobject “form”
form.StartPosition = form.StartPosition.Manual
form.Bounds = dotnetObject “Drawing.Rectangle” 200 100 40 40
form.show()
dont works:
form = dotnetobject “form”
form.ControlBox = false –hide main bar
form.StartPosition = form.StartPosition.Manual
form.Bounds = dotnetObject “Drawing.Rectangle” 200 100 40 40
form.show()
1 Reply
Dec 02, 2009 11:07 am
oki found it
must change bordersytyle = none to disable min size limitations
form.FormBorderStyle = form.FormBorderStyle.none