Frame Control

A frame control is used to visually group other controls on the form.

Client support

   Newlook Smartclient

   Newlook Server

Use

A frame control can be used to subdivide a form visually or functionally. For example, if you want to separate a group of option buttons from another group of option buttons, or you wish to indicate that a group of controls are a logical group then you could use a frame control to indicate this.

TIP!

To ensure that controls inside a frame are visible, draw the frame first, and then draw controls inside the frame. This ensures that the correct z-order is applied.

NOTE:

If you want to insert a control that will act as a parent container for other controls then do not use a Frame control as it does not become a container object. The panel control is a better alternative.

Material skin considerations

When the material skin is enabled in your solution, combo boxes will be rendered with material styling. Note that when the Style Property is set to FrameGroupBox, then the BorderColor Property and BorderStyle Property are ignored and the caption will always appear inside the control's border.

Material skin

Classic skin

See Also

Panel control | PictureBox control


© 2004-2021 looksoftware. All rights reserved.