Panel Control

Panel controls are used to provide a set area identifying a group of controls.

Client support

Newlook Smartclient

Newlook Server

Use

A panel control can be used to subdivide a form functionally. For example, if you wanted to separate one group of option buttons from another group of option buttons or you wished to position a group of menus as a group then you would use a panel control.

A frame is also useful if you want to position a group of controls on a form. Once a control is copied onto a panel control it's position stays fixed, relative to the top left corner of the panel. Moving the panel also moves any control placed on the panel.

A panel is similar to a frame control however they vary in the properties they offer. For instance, a panel control has various event driven properties such as the OnClick property, which allow one to respond to user events.

TIP!

To group controls, draw the panel first, and then draw controls inside the panel.

See Also

Frame control | Picture box control 


© 2004-2021 looksoftware. All rights reserved.