![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 135
1998-2004 Gravitybox Software LLC
you do not wish for the user to interact with the TitleBar, set its AllowCloseButton
property to false and no button will be displayed.
Table 13.6
TitleBar Control Properties
Align
Determines if the control is aligned to one of the four
sides of the screen.
AllowALTF4
Determines if the <ALT>-<F4> key combination will
cause the ButtonClick event to be raised. This is useful
on a form with no caption or control box and the
AllowAsCaption property value is true. This enables the
control to act as the real title bar of a window.
AllowAsCaption
Determines if the control is to replace the default TitleBar
of a window. A screen can be setup to have no caption or
control box. If so, the TItleBar may assume this
functionality by setting this property value to true. The
user may drag the TitleBar to move the window as if it
were the real window title.
AllowBody
Determines if the control is a header only or has a body
on which to position child controls. When true, the
TitleBar will be vertically resizable and may accept
constituent controls. When false the control will have a
fixed height, but will be resizable horizontally.
AllowCloseButton
Determines if the close button should be displayed in the
top right margin. When pressed it raises the ButtonClick
event.
Appearance
This property determines if the control has a 3D border.
When this 'property value is true, the control has a 3D
shadowed border. Otherwise it 'has a single line border
of the color defined by the "BorderColor" property.
BackColor
Determines the background color of the non-header
area. The header color is not determined by this property
value.
BorderColor
Determines the color of the border drawn around the
control. If no border is desired then set this property to
the same color as the background color.
Caption
This is the text to be displayed on the header of the
control.
ClientHeight
This is the height of the body area where child controls
may be placed.
ClientLeft
This is the left edge of the body area where child controls
may be placed.
ClientTop
This is the top edge of the body area where child controls
may be placed.
ClientWidth
This is the width of the body area where child controls
|