Class TmwComboDrawGrid (unit mwCombDrawGrid)

Inherits from

TCustomEdit

Constructors


constructor Create(AOwner: TComponent);

Destroy


Functions

procedure BoxClick(Sender: TObject);


destructor Destroy;

WMLButtonDown

procedure DrawImage(Bitmap: TBitmap; Position: Integer);

SetBounds

procedure CreateParams(var Params: TCreateParams);

Create

procedure CreateWindowHandle(const Params: TCreateParams);

CreateWnd

procedure CreateWnd;


procedure SetBounds(Left, Top, Width, Height: Integer);

BoxClick

procedure SetEditRect;

WndProc

function GetBoxGlyph: TBitmap;

SetBoxWidth

function GetBoxWidth: Integer;

SetStateImage

function GetGridColCount: Longint;

SetGridColCount

function GetGridColor: TColor;

SetGridColor

function GetGridCtl3D: Boolean;

SetGridCtl3D

function GetGridCursor: TCursor;

SetGridCursor

function GetGridDefaultColWidth: Integer;

SetGridDefaultColWidth

function GetGridDefaultDrawing: Boolean;

SetGridDefaultDrawing

function GetGridDefaultRowHeight: Integer;

SetGridDefaultRowHeight

function GetGridDragCursor: TCursor;

SetGridDragCursor

function GetGridDragMode: TDragMode;

SetGridDragMode

function GetGridEnabled: Boolean;

SetGridEnabled

function GetGridFixedColor: TColor;

SetGridFixedColor

function GetGridFixedCols: Integer;

SetGridFixedCols

function GetGridFixedRows: Integer;

SetGridFixedRows

function GetGridFont: TFont;

SetGridFont

function GetGridGridLineWidth: Integer;

SetGridGridLineWidth

function GetGridHeight:Integer;

SetBoxGlyph

function GetGridHelpContext: THelpContext;

SetGridHelpContext

function GetGridHint: string;

SetGridHint

Function GetGridOnClick:TNotifyEvent;

GetGridVisibleRowCount

Function GetGridOnColumnMoved:TMovedEvent;


Function GetGridOnDblClick:TNotifyEvent;


Function GetGridOnDragDrop:TDragDropEvent;


Function GetGridOnDragOver:TDragOverEvent;


Function GetGridOnDrawCell:TDrawCellEvent;


Function GetGridOnEndDrag:TEndDragEvent;


Function GetGridOnEnter:TNotifyEvent;


Function GetGridOnExit:TNotifyEvent;


Function GetGridOnGetEditMask:TGetEditEvent;


Function GetGridOnGetEditText:TGetEditEvent;


Function GetGridOnKeyDown:TKeyEvent;


Function GetGridOnKeyPress:TKeyPressEvent;


Function GetGridOnKeyUp:TKeyEvent;


Function GetGridOnMouseDown:TMouseEvent;


Function GetGridOnMouseMove:TMouseMoveEvent;


Function GetGridOnMouseUp:TMouseEvent;


Function GetGridOnRowMoved:TMovedEvent;


Function GetGridOnSelectCell:TSelectCellEvent;


Function GetGridOnSetEditText:TSetEditEvent;


Function GetGridOnStartDrag:TStartDragEvent;


Function GetGridOnTopLeftChanged:TNotifyEvent;


function GetGridOptions: TGridOptions;

SetGridOptions

function GetGridParentColor: Boolean;

SetGridParentColor

function GetGridParentCtl3D: Boolean;

SetGridParentCtl3D

function GetGridParentFont: Boolean;

SetGridParentFont

function GetGridParentShowHint: Boolean;

SetGridParentShowHint

function GetGridPopupMenu: TPopupMenu;

SetGridPopupMenu

function GetGridRowCount: Longint;

SetGridRowCount

function GetGridScrollBars: TScrollStyle;

SetGridScrollBars

function GetGridShowHint: Boolean;

SetGridShowHint

function GetGridTabOrder: TTabOrder;

SetGridTabOrder

function GetGridTabStop: Boolean;

SetGridTabStop

function GetGridTag: Longint;

SetGridTag

function GetGridVisible: Boolean;

SetGridVisible

function GetGridVisibleColCount: Integer;

GetGridVisible

function GetGridVisibleRowCount: Integer;

GetGridVisibleColCount

Procedure PutGridOnClick(value : TNotifyEvent);


Procedure PutGridOnColumnMoved(value : TMovedEvent);


Procedure PutGridOnDblClick(value : TNotifyEvent);


Procedure PutGridOnDragDrop(value : TDragDropEvent);


Procedure PutGridOnDragOver(value : TDragOverEvent);


Procedure PutGridOnDrawCell(value : TDrawCellEvent);


Procedure PutGridOnEndDrag(value : TEndDragEvent);


Procedure PutGridOnEnter(value : TNotifyEvent);


Procedure PutGridOnExit(value : TNotifyEvent);


Procedure PutGridOnGetEditMask(value : TGetEditEvent);


Procedure PutGridOnGetEditText(value : TGetEditEvent);


Procedure PutGridOnKeyDown(value : TKeyEvent);


Procedure PutGridOnKeyPress(value : TKeyPressEvent);


Procedure PutGridOnKeyUp(value : TKeyEvent);


Procedure PutGridOnMouseDown(value : TMouseEvent);


Procedure PutGridOnMouseMove(value : TMouseMoveEvent);


Procedure PutGridOnMouseUp(value : TMouseEvent);


Procedure PutGridOnRowMoved(value : TMovedEvent);


Procedure PutGridOnSelectCell(value : TSelectCellEvent);


Procedure PutGridOnSetEditText(value : TSetEditEvent);


Procedure PutGridOnStartDrag(value : TStartDragEvent);


Procedure PutGridOnTopLeftChanged(value : TNotifyEvent);


procedure SetBoxGlyph(NewValue: TBitmap);

GetBoxGlyph

procedure SetBoxWidth(NewValue: Integer);

GetBoxWidth

procedure SetGridColCount(newValue: Longint);

SetGridHeight

procedure SetGridColor(newValue: TColor);

GetGridColCount

procedure SetGridCtl3D(newValue: Boolean);

GetGridColor

procedure SetGridCursor(newValue: TCursor);

GetGridCtl3D

procedure SetGridDefaultColWidth(newValue: Integer);

GetGridCursor

procedure SetGridDefaultDrawing(newValue: Boolean);

GetGridDefaultColWidth

procedure SetGridDefaultRowHeight(newValue: Integer);

GetGridDefaultDrawing

procedure SetGridDragCursor(newValue: TCursor);

GetGridDefaultRowHeight

procedure SetGridDragMode(newValue: TDragMode);

GetGridDragCursor

procedure SetGridEnabled(newValue: Boolean);

GetGridDragMode

procedure SetGridFixedColor(newValue: TColor);

GetGridEnabled

procedure SetGridFixedCols(newValue: Integer);

GetGridFixedColor

procedure SetGridFixedRows(newValue: Integer);

GetGridFixedCols

procedure SetGridFont(newValue: TFont);

GetGridFixedRows

procedure SetGridGridLineWidth(newValue: Integer);

GetGridFont

procedure SetGridHeight(NewValue:Integer);

GetGridHeight

procedure SetGridHelpContext(newValue: THelpContext);

GetGridGridLineWidth

procedure SetGridHint(newValue: string);

GetGridHelpContext

procedure SetGridOptions(newValue: TGridOptions);

GetGridHint

procedure SetGridParentColor(newValue: Boolean);

GetGridOptions

procedure SetGridParentCtl3D(newValue: Boolean);

GetGridParentColor

procedure SetGridParentFont(newValue: Boolean);

GetGridParentCtl3D

procedure SetGridParentShowHint(newValue: Boolean);

GetGridParentFont

procedure SetGridPopupMenu(newValue: TPopupMenu);

GetGridParentShowHint

procedure SetGridRowCount(newValue: Longint);

GetGridPopupMenu

procedure SetGridScrollBars(newValue: TScrollStyle);

GetGridRowCount

procedure SetGridShowHint(newValue: Boolean);

GetGridScrollBars

procedure SetGridTabOrder(newValue: TTabOrder);

GetGridShowHint

procedure SetGridTabStop(newValue: Boolean);

GetGridTabOrder

procedure SetGridTag(newValue: Longint);

GetGridTabStop

procedure SetGridVisible(newValue: Boolean);

GetGridTag

procedure SetImage(NewValue: TBitmap);

DrawImage

procedure SetStateImage(NewValue: TBitmap);

SetImage

procedure WMPaint(var Message: TWMPaint);

CreateWindowHandle

procedure WndProc(var Message: TMessage);

WMPaint

Properties

property BoxGlyph : TBitmap


property BoxWidth : Integer


property Font :


property GridColCount : Longint


property GridColor : TColor


property GridCtl3D : Boolean


property GridCursor : TCursor


property GridDefaultColWidth : Integer


property GridDefaultDrawing : Boolean


property GridDefaultRowHeight : Integer


property GridDragCursor : TCursor


property GridDragMode : TDragMode


property GridEnabled : Boolean


property GridFixedColor : TColor


property GridFixedCols : Integer


property GridFixedRows : Integer


property GridFont : TFont


property GridGridLineWidth : Integer


property GridHeight : Integer


property GridHelpContext : THelpContext


property GridHint : string


property GridOnClick : TNotifyEvent


property GridOnColumnMoved : TMovedEvent


property GridOnDblClick : TNotifyEvent


property GridOnDragDrop : TDragDropEvent


property GridOnDragOver : TDragOverEvent


property GridOnDrawCell : TDrawCellEvent


property GridOnEndDrag : TEndDragEvent


property GridOnEnter : TNotifyEvent


property GridOnExit : TNotifyEvent


property GridOnGetEditMask : TGetEditEvent


property GridOnGetEditText : TGetEditEvent


property GridOnKeyDown : TKeyEvent


property GridOnKeyPress : TKeyPressEvent


property GridOnKeyUp : TKeyEvent


property GridOnMouseDown : TMouseEvent


property GridOnMouseMove : TMouseMoveEvent


property GridOnMouseUp : TMouseEvent


property GridOnRowMoved : TMovedEvent


property GridOnSelectCell : TSelectCellEvent


property GridOnSetEditText : TSetEditEvent


property GridOnStartDrag : TStartDragEvent


property GridOnTopLeftChanged : TNotifyEvent


property GridOptions : TGridOptions


property GridParentColor : Boolean


property GridParentCtl3D : Boolean


property GridParentFont : Boolean


property GridParentShowHint : Boolean


property GridPopupMenu : TPopupMenu


property GridRowCount : Longint


property GridScrollBars : TScrollStyle


property GridShowHint : Boolean


property GridTabOrder : TTabOrder


property GridTabStop : Boolean


property GridTag : Longint


property GridVisible : Boolean


property GridVisibleColCount : Integer


property GridVisibleRowCount : Integer


property Image : TBitmap


property ShowHint :


property StateImage : TBitmap


property Text :


Events

event OnChange :


event OnClick :


event OnDblClick :


event OnEnter :


event OnExit :


Variables

Box : TSpeedButton;


Grid : TDrawGrid;


FCanvas : TControlCanvas;


fImage : TBitmap;


fStateImage : TBitmap;



Constructors


constructor Create(AOwner: TComponent);

Destroy


Functions


procedure BoxClick(Sender: TObject);


destructor Destroy;

WMLButtonDown


procedure DrawImage(Bitmap: TBitmap; Position: Integer);

SetBounds


procedure CreateParams(var Params: TCreateParams);

Create


procedure CreateWindowHandle(const Params: TCreateParams);

CreateWnd


procedure CreateWnd;


procedure SetBounds(Left, Top, Width, Height: Integer);

BoxClick


procedure SetEditRect;

WndProc


function GetBoxGlyph: TBitmap;

SetBoxWidth


function GetBoxWidth: Integer;

SetStateImage


function GetGridColCount: Longint;

SetGridColCount


function GetGridColor: TColor;

SetGridColor


function GetGridCtl3D: Boolean;

SetGridCtl3D


function GetGridCursor: TCursor;

SetGridCursor


function GetGridDefaultColWidth: Integer;

SetGridDefaultColWidth


function GetGridDefaultDrawing: Boolean;

SetGridDefaultDrawing


function GetGridDefaultRowHeight: Integer;

SetGridDefaultRowHeight


function GetGridDragCursor: TCursor;

SetGridDragCursor


function GetGridDragMode: TDragMode;

SetGridDragMode


function GetGridEnabled: Boolean;

SetGridEnabled


function GetGridFixedColor: TColor;

SetGridFixedColor


function GetGridFixedCols: Integer;

SetGridFixedCols


function GetGridFixedRows: Integer;

SetGridFixedRows


function GetGridFont: TFont;

SetGridFont


function GetGridGridLineWidth: Integer;

SetGridGridLineWidth


function GetGridHeight:Integer;

SetBoxGlyph


function GetGridHelpContext: THelpContext;

SetGridHelpContext


function GetGridHint: string;

SetGridHint


Function GetGridOnClick:TNotifyEvent;

GetGridVisibleRowCount


Function GetGridOnColumnMoved:TMovedEvent;


Function GetGridOnDblClick:TNotifyEvent;


Function GetGridOnDragDrop:TDragDropEvent;


Function GetGridOnDragOver:TDragOverEvent;


Function GetGridOnDrawCell:TDrawCellEvent;


Function GetGridOnEndDrag:TEndDragEvent;


Function GetGridOnEnter:TNotifyEvent;


Function GetGridOnExit:TNotifyEvent;


Function GetGridOnGetEditMask:TGetEditEvent;


Function GetGridOnGetEditText:TGetEditEvent;


Function GetGridOnKeyDown:TKeyEvent;


Function GetGridOnKeyPress:TKeyPressEvent;


Function GetGridOnKeyUp:TKeyEvent;


Function GetGridOnMouseDown:TMouseEvent;


Function GetGridOnMouseMove:TMouseMoveEvent;


Function GetGridOnMouseUp:TMouseEvent;


Function GetGridOnRowMoved:TMovedEvent;


Function GetGridOnSelectCell:TSelectCellEvent;


Function GetGridOnSetEditText:TSetEditEvent;


Function GetGridOnStartDrag:TStartDragEvent;


Function GetGridOnTopLeftChanged:TNotifyEvent;


function GetGridOptions: TGridOptions;

SetGridOptions


function GetGridParentColor: Boolean;

SetGridParentColor


function GetGridParentCtl3D: Boolean;

SetGridParentCtl3D


function GetGridParentFont: Boolean;

SetGridParentFont


function GetGridParentShowHint: Boolean;

SetGridParentShowHint


function GetGridPopupMenu: TPopupMenu;

SetGridPopupMenu


function GetGridRowCount: Longint;

SetGridRowCount


function GetGridScrollBars: TScrollStyle;

SetGridScrollBars


function GetGridShowHint: Boolean;

SetGridShowHint


function GetGridTabOrder: TTabOrder;

SetGridTabOrder


function GetGridTabStop: Boolean;

SetGridTabStop


function GetGridTag: Longint;

SetGridTag


function GetGridVisible: Boolean;

SetGridVisible


function GetGridVisibleColCount: Integer;

GetGridVisible


function GetGridVisibleRowCount: Integer;

GetGridVisibleColCount


Procedure PutGridOnClick(value : TNotifyEvent);


Procedure PutGridOnColumnMoved(value : TMovedEvent);


Procedure PutGridOnDblClick(value : TNotifyEvent);


Procedure PutGridOnDragDrop(value : TDragDropEvent);


Procedure PutGridOnDragOver(value : TDragOverEvent);


Procedure PutGridOnDrawCell(value : TDrawCellEvent);


Procedure PutGridOnEndDrag(value : TEndDragEvent);


Procedure PutGridOnEnter(value : TNotifyEvent);


Procedure PutGridOnExit(value : TNotifyEvent);


Procedure PutGridOnGetEditMask(value : TGetEditEvent);


Procedure PutGridOnGetEditText(value : TGetEditEvent);


Procedure PutGridOnKeyDown(value : TKeyEvent);


Procedure PutGridOnKeyPress(value : TKeyPressEvent);


Procedure PutGridOnKeyUp(value : TKeyEvent);


Procedure PutGridOnMouseDown(value : TMouseEvent);


Procedure PutGridOnMouseMove(value : TMouseMoveEvent);


Procedure PutGridOnMouseUp(value : TMouseEvent);


Procedure PutGridOnRowMoved(value : TMovedEvent);


Procedure PutGridOnSelectCell(value : TSelectCellEvent);


Procedure PutGridOnSetEditText(value : TSetEditEvent);


Procedure PutGridOnStartDrag(value : TStartDragEvent);


Procedure PutGridOnTopLeftChanged(value : TNotifyEvent);


procedure SetBoxGlyph(NewValue: TBitmap);

GetBoxGlyph


procedure SetBoxWidth(NewValue: Integer);

GetBoxWidth


procedure SetGridColCount(newValue: Longint);

SetGridHeight


procedure SetGridColor(newValue: TColor);

GetGridColCount


procedure SetGridCtl3D(newValue: Boolean);

GetGridColor


procedure SetGridCursor(newValue: TCursor);

GetGridCtl3D


procedure SetGridDefaultColWidth(newValue: Integer);

GetGridCursor


procedure SetGridDefaultDrawing(newValue: Boolean);

GetGridDefaultColWidth


procedure SetGridDefaultRowHeight(newValue: Integer);

GetGridDefaultDrawing


procedure SetGridDragCursor(newValue: TCursor);

GetGridDefaultRowHeight


procedure SetGridDragMode(newValue: TDragMode);

GetGridDragCursor


procedure SetGridEnabled(newValue: Boolean);

GetGridDragMode


procedure SetGridFixedColor(newValue: TColor);

GetGridEnabled


procedure SetGridFixedCols(newValue: Integer);

GetGridFixedColor


procedure SetGridFixedRows(newValue: Integer);

GetGridFixedCols


procedure SetGridFont(newValue: TFont);

GetGridFixedRows


procedure SetGridGridLineWidth(newValue: Integer);

GetGridFont


procedure SetGridHeight(NewValue:Integer);

GetGridHeight


procedure SetGridHelpContext(newValue: THelpContext);

GetGridGridLineWidth


procedure SetGridHint(newValue: string);

GetGridHelpContext


procedure SetGridOptions(newValue: TGridOptions);

GetGridHint


procedure SetGridParentColor(newValue: Boolean);

GetGridOptions


procedure SetGridParentCtl3D(newValue: Boolean);

GetGridParentColor


procedure SetGridParentFont(newValue: Boolean);

GetGridParentCtl3D


procedure SetGridParentShowHint(newValue: Boolean);

GetGridParentFont


procedure SetGridPopupMenu(newValue: TPopupMenu);

GetGridParentShowHint


procedure SetGridRowCount(newValue: Longint);

GetGridPopupMenu


procedure SetGridScrollBars(newValue: TScrollStyle);

GetGridRowCount


procedure SetGridShowHint(newValue: Boolean);

GetGridScrollBars


procedure SetGridTabOrder(newValue: TTabOrder);

GetGridShowHint


procedure SetGridTabStop(newValue: Boolean);

GetGridTabOrder


procedure SetGridTag(newValue: Longint);

GetGridTabStop


procedure SetGridVisible(newValue: Boolean);

GetGridTag


procedure SetImage(NewValue: TBitmap);

DrawImage


procedure SetStateImage(NewValue: TBitmap);

SetImage


procedure WMPaint(var Message: TWMPaint);

CreateWindowHandle


procedure WndProc(var Message: TMessage);

WMPaint


Properties


property BoxGlyph : TBitmap


property BoxWidth : Integer


property Font :


property GridColCount : Longint


property GridColor : TColor


property GridCtl3D : Boolean


property GridCursor : TCursor


property GridDefaultColWidth : Integer


property GridDefaultDrawing : Boolean


property GridDefaultRowHeight : Integer


property GridDragCursor : TCursor


property GridDragMode : TDragMode


property GridEnabled : Boolean


property GridFixedColor : TColor


property GridFixedCols : Integer


property GridFixedRows : Integer


property GridFont : TFont


property GridGridLineWidth : Integer


property GridHeight : Integer


property GridHelpContext : THelpContext


property GridHint : string


property GridOnClick : TNotifyEvent


property GridOnColumnMoved : TMovedEvent


property GridOnDblClick : TNotifyEvent


property GridOnDragDrop : TDragDropEvent


property GridOnDragOver : TDragOverEvent


property GridOnDrawCell : TDrawCellEvent


property GridOnEndDrag : TEndDragEvent


property GridOnEnter : TNotifyEvent


property GridOnExit : TNotifyEvent


property GridOnGetEditMask : TGetEditEvent


property GridOnGetEditText : TGetEditEvent


property GridOnKeyDown : TKeyEvent


property GridOnKeyPress : TKeyPressEvent


property GridOnKeyUp : TKeyEvent


property GridOnMouseDown : TMouseEvent


property GridOnMouseMove : TMouseMoveEvent


property GridOnMouseUp : TMouseEvent


property GridOnRowMoved : TMovedEvent


property GridOnSelectCell : TSelectCellEvent


property GridOnSetEditText : TSetEditEvent


property GridOnStartDrag : TStartDragEvent


property GridOnTopLeftChanged : TNotifyEvent


property GridOptions : TGridOptions


property GridParentColor : Boolean


property GridParentCtl3D : Boolean


property GridParentFont : Boolean


property GridParentShowHint : Boolean


property GridPopupMenu : TPopupMenu


property GridRowCount : Longint


property GridScrollBars : TScrollStyle


property GridShowHint : Boolean


property GridTabOrder : TTabOrder


property GridTabStop : Boolean


property GridTag : Longint


property GridVisible : Boolean


property GridVisibleColCount : Integer


property GridVisibleRowCount : Integer


property Image : TBitmap


property ShowHint :


property StateImage : TBitmap


property Text :


Events


event OnChange :


event OnClick :


event OnDblClick :


event OnEnter :


event OnExit :


Variables


Box : TSpeedButton;


Grid : TDrawGrid;


FCanvas : TControlCanvas;


fImage : TBitmap;


fStateImage : TBitmap;