[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TNotebook is a container for a series of pages placed together
Source position: extctrls.pp line 114
type TNotebook = class(TCustomControl) end; |
||
public |
||
constructor Create(); override; |
|
|
destructor Destroy; override; |
||
procedure ShowControl(); override; |
||
function IndexOf(); |
||
property ActivePage: string; [r] |
|
|
property ActivePageComponent: TPage; [r] |
|
|
|
||
property PageCount: Integer; [r] |
||
published |
||
property PageIndex: Integer; [rw] |
|
|
property Pages: TStrings; [rws] |
|
|
|
Specifies the placement of the control inside its Parent. |
|
property AutoSize: Boolean; |
||
|
The set of anchor definitions for this control. |
|
property BiDiMode: TBiDiMode; |
||
property BorderSpacing: TControlBorderSpacing; |
|
Determines the inner and outer border spacing for this control. |
property Constraints: TSizeConstraints; |
|
The minimal and maximal Width and Height of this control. |
property DragCursor: TCursor; |
|
The cursor shape shown while the control is dragged. |
|
Allows the user to drag the control. |
|
property Enabled: Boolean; |
|
Determines whether the control reacts on mouse or keyboard input. |
property OnChangeBounds: TNotifyEvent; |
|
Event handler for a change of the Bounds of the control. |
property OnContextPopup: TContextPopupEvent; |
|
Invoked when a context-sensitive pop-up menu is requested. |
property OnDragDrop: TDragDropEvent; |
|
This handler determines the action on an drop onto this control, in a drag-drop operation. |
property OnDragOver: TDragOverEvent; |
|
Event handler for a control being dragged over this control. |
property OnEndDrag: TEndDragEvent; |
|
Notification handler for the end of a dragging operation. |
property OnEnter: TNotifyEvent; |
|
Handler for control receiving the focus. |
property OnExit: TNotifyEvent; |
|
Handler for control loosing the focus. This is a good place for checking the finished user input. |
property OnMouseDown: TMouseEvent; |
|
Event handler for mouse button going down. |
property OnMouseEnter: TNotifyEvent; |
||
property OnMouseLeave: TNotifyEvent; |
||
property OnMouseMove: TMouseMoveEvent; |
|
|
property OnMouseUp: TMouseEvent; |
|
Event handler for mouse button going up. |
property OnMouseWheel: TMouseWheelEvent; |
||
property OnMouseWheelDown: TMouseWheelUpDownEvent; |
||
property OnMouseWheelUp: TMouseWheelUpDownEvent; |
||
property OnResize: TNotifyEvent; |
|
Notification handler for a resize of the control. |
property OnStartDrag: TStartDragEvent; |
|
Event handler for the start of a dragging operation. |
property ParentBiDiMode: Boolean; |
||
property PopupMenu: TPopupMenu; |
|
A context-sensitive menu that pops up when the right mouse button is clicked over this control |
|
Determines the sequence of controls, reachable when the user presses the Tab key. |
|
property TabStop: Boolean; |
|
|
|
TNotebook is a container for a series of pages placed together |
|
| | ||
|
The base class for windowed controls which paint themselves. |
|
| | ||
|
The base class for controls which can contain other (child) controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
TNotebook is a control which can hold a series of pages placed together. Only one page is shown at a time and this control is completely custom drawn, which means that it is available and looks the same in any widgetset which supports TCustomControl. The pages are containers which can hold controls. This control never has tabs. If you are looking for a control with tabs and pages, please see TPageControl instead.
To use a Notebook, select its icon from the 'Additional' tab of the Component Palette and place it on the Form. Adjust its size, position, alignment and anchoring as required, by moving the object on the Form or by using the Object Inspector.
Pages are added to the NoteBook by selecting the control and right-clicking with the mouse to get a pop-up menu whose first item is 'Add Page'. Pages already in the NoteBook can be edited by selecting the appropriate ActivePage in the Object Inspector and modifying its properties or adding additional components to that Page.
|
How to use StdCtrls, ComCtrls or ExtCtrls |
|
|
TPage: One of the pages in a tabbed Notebook |
|
|
Multi-PageControls - controls that offer a selection of alternative pages for display |
lazarus-ccr.sourceforge.net |