formborderstyle Questions

7

Solved

Does anyone know how I can resize a winform when it has no border. I don't want the default border that Windows has, so I changed the property "FormBorderStyle" to "None". This removed the border, ...
Tarttan asked 4/4, 2010 at 17:21

10

I added some controls to my form and changed Anchor property how I'd expect this to work, but when I resize the form at the runtime, the controls stay at the same place. For example, I have two bu...
Clarhe asked 21/10, 2009 at 10:46

3

Solved

I have searching and the result cannot solve my case. Actually I have a panel and I want the panel have thicker border than Windows given. I need BorderStyle BorderStyle.FixedSingle thicker.. T...
Riesman asked 3/10, 2013 at 16:0

5

Solved

Using C#. I am trying to move a Form without its title bar. I found an article about it on: http://www.codeproject.com/KB/cs/csharpmovewindow.aspx It works as long as I do not set FormBorder...
Johnette asked 6/8, 2009 at 22:11

2

Solved

i have created a form and set its FormBorderStyle property to none. when i press Windows + UP form will be Maximized. how can i prevent form from maximize? i tried private void logIn_Resize(objec...
Mucilage asked 27/12, 2017 at 12:39

2

Solved

I am using this code to make my form (FormBorderStyle=none) with rounded edges: [DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")] private static extern IntPtr CreateRoundRectRgn ( ...
Troy asked 23/2, 2011 at 14:29

3

I am using this code to make the form have no border style: this.FormBorderStyle = FormBorderStyle.None; I need to make rounded edges on the form. Is there an easy way? How do I do it? ...
Springhalt asked 20/5, 2012 at 14:25

5

Solved

I have a text field setup like so: textField.borderStyle = UITextBorderStyleLine; textField.layer.borderColor = [[UIColor greenColor] CGColor]; textField.layer.borderWidth= 10.0f;' But is it pos...
Aerial asked 21/9, 2013 at 4:25
1

© 2022 - 2025 — McMap. All rights reserved.