Class tdbnavigator

Unit

Declaration

type tdbnavigator = class(tcustomtoolbar, idbnaviglink)

Description

This item has no description. Showing description inherited from tmsecomponent.

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component. This unit, mseclasses, must be added to uses after classes in code that also uses a third-party unit expecting the plain FPC tcomponent (e.g. TPSScript.Create(TComponent)), since MSEgui forks the FPC classes unit.

Hierarchy

Overview

Methods

Protected procedure inithints;
Protected procedure doexecute(const sender: tobject);
Protected procedure loaded; override;
Protected procedure internalshortcut(var info: keyeventinfoty; const sender: twidget);
Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;
Protected procedure doasyncevent(var atag: integer); override;
Protected procedure dostatread(const reader: tstatreader); override;
Protected procedure dostatwrite(const writer: tstatwriter); override;
Protected procedure setactivebuttons(const abuttons: dbnavigbuttonsty; const afiltered: boolean);
Protected procedure setcheckedbuttons(const abuttons: dbnavigbuttonsty; const achecked: boolean);
Protected function getnavigoptions: dbnavigatoroptionsty;
Protected procedure dodialogexecute;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public function canclose(const newfocus: twidget = nil): boolean; override;
Public procedure edit();
Public function canautoedit(): boolean;
Public procedure updatereadonly(const force: boolean = false);

Properties

Published property statfile;
Published property datasource: tdatasource read getdatasource write setdatasource;
Published property visiblebuttons: dbnavigbuttonsty read fvisiblebuttons write setvisiblebuttons default defaultvisibledbnavigbuttons;
Published property colorglyph: colorty read getcolorglyph write setcolorglyph default cl_default;
Published property buttonface: tface read getbuttonface write setbuttonface;
Published property buttonwidth: integer read getbuttonwidth write setbuttonwidth default 0;
Published property buttonheight: integer read getbuttonheight write setbuttonheight default 0;
Published property bounds_cx default defaultdbnavigatorwidth;
Published property bounds_cy default defaultdbnavigatorheight;
Published property shortcut_first: shortcutty read fshortcuts[dbnb_first] write fshortcuts[dbnb_first] default key_modctrl + ord(key_pageup);
Published property shortcut_prior: shortcutty read fshortcuts[dbnb_prior] write fshortcuts[dbnb_prior] default ord(key_pageup);
Published property shortcut_next: shortcutty read fshortcuts[dbnb_next] write fshortcuts[dbnb_next] default ord(key_pagedown);
Published property shortcut_last: shortcutty read fshortcuts[dbnb_last] write fshortcuts[dbnb_last] default key_modctrl + ord(key_pagedown);
Published property shortcut_insert: shortcutty read fshortcuts[dbnb_insert] write fshortcuts[dbnb_insert] default ord(key_none);
Published property shortcut_delete: shortcutty read fshortcuts[dbnb_delete] write fshortcuts[dbnb_delete] default ord(key_none);
Published property shortcut_copyrecord: shortcutty read fshortcuts[dbnb_copyrecord] write fshortcuts[dbnb_copyrecord] default ord(key_none);
Published property shortcut_edit: shortcutty read fshortcuts[dbnb_edit] write fshortcuts[dbnb_edit] default ord(key_f2);
Published property shortcut_post: shortcutty read fshortcuts[dbnb_post] write fshortcuts[dbnb_post] default ord(key_f2);
Published property shortcut_cancel: shortcutty read fshortcuts[dbnb_cancel] write fshortcuts[dbnb_cancel] default ord(key_none);
Published property shortcut_refresh: shortcutty read fshortcuts[dbnb_refresh] write fshortcuts[dbnb_refresh] default ord(key_none);
Published property shortcut_filter: shortcutty read fshortcuts[dbnb_filter] write fshortcuts[dbnb_filter] default ord(key_none);
Published property shortcut_filtermin: shortcutty read fshortcuts[dbnb_filtermax] write fshortcuts[dbnb_filtermin] default ord(key_none);
Published property shortcut_filtermax: shortcutty read fshortcuts[dbnb_filtermax] write fshortcuts[dbnb_filtermax] default ord(key_none);
Published property shortcut_filteronoff: shortcutty read fshortcuts[dbnb_filteronoff] write fshortcuts[dbnb_filteronoff] default ord(key_none);
Published property shortcut_find: shortcutty read fshortcuts[dbnb_find] write fshortcuts[dbnb_find] default ord(key_none);
Published property shortcut_autoedit: shortcutty read fshortcuts[dbnb_autoedit] write fshortcuts[dbnb_autoedit] default ord(key_none);
Published property options: dbnavigatoroptionsty read foptions write setoptions default defaultdbnavigatoroptions;
Published property autoedit: boolean read getautoedit write setautoedit default false;
Published property dialogbutton: tdbnavigbutton read gettoolbutton write settoolbutton;
Published property ondialogexecute: notifyeventty read fondialogexecute write fondialogexecute;
Published property onreadonlychange: booleanchangedeventty read fonreadonlychange write fonreadonlychange;

Description

Methods

Protected procedure inithints;

This item has no description.

Protected procedure doexecute(const sender: tobject);

This item has no description.

Protected procedure loaded; override;

This item has no description.

Protected procedure internalshortcut(var info: keyeventinfoty; const sender: twidget);

This item has no description.

Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;

This item has no description. Showing description inherited from twidget.doshortcut.

Simplified key event propagation: an unhandled key first goes through dokeydown of the focused widget, then of its parents (dokeydown of the parent is called with es_child set). If still unhandled, doshortcut is tried: siblings and children first, then (unless ow_nochildshortcut is set) the parent widget — a widget with ow_noparentshortcut ignores a call coming from its parent. If no widget handled it, the window's own doshortcut first checks tcustomactions with ao_localshortcut set whose owner is an ancestor of the widget that received the key; if still unhandled and tws_localshortcuts is not set on the window, application.checkshortcut calls doshortcut of all windows, and then of all actions with ao_globalshortcut set. Finally, unhandled navigation keys are processed by dokeydownaftershortcut, again propagated to parents. Recursion is avoided by always calling top-down.

Protected procedure doasyncevent(var atag: integer); override;

This item has no description.

Protected procedure dostatread(const reader: tstatreader); override;

This item has no description.

Protected procedure dostatwrite(const writer: tstatwriter); override;

This item has no description.

Protected procedure setactivebuttons(const abuttons: dbnavigbuttonsty; const afiltered: boolean);

This item has no description.

Protected procedure setcheckedbuttons(const abuttons: dbnavigbuttonsty; const achecked: boolean);

This item has no description.

Protected function getnavigoptions: dbnavigatoroptionsty;

This item has no description.

Protected procedure dodialogexecute;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public function canclose(const newfocus: twidget = nil): boolean; override;

This item has no description.

Public procedure edit();

This item has no description.

Public function canautoedit(): boolean;

This item has no description.

Public procedure updatereadonly(const force: boolean = false);

This item has no description.

Properties

Published property statfile;

This item has no description.

Published property datasource: tdatasource read getdatasource write setdatasource;

This item has no description.

Published property visiblebuttons: dbnavigbuttonsty read fvisiblebuttons write setvisiblebuttons default defaultvisibledbnavigbuttons;

This item has no description.

Published property colorglyph: colorty read getcolorglyph write setcolorglyph default cl_default;

This item has no description.

Published property buttonface: tface read getbuttonface write setbuttonface;

This item has no description.

Published property buttonwidth: integer read getbuttonwidth write setbuttonwidth default 0;

This item has no description.

Published property buttonheight: integer read getbuttonheight write setbuttonheight default 0;

This item has no description.

Published property bounds_cx default defaultdbnavigatorwidth;

This item has no description.

Published property bounds_cy default defaultdbnavigatorheight;

This item has no description.

Published property shortcut_first: shortcutty read fshortcuts[dbnb_first] write fshortcuts[dbnb_first] default key_modctrl + ord(key_pageup);

This item has no description.

Published property shortcut_prior: shortcutty read fshortcuts[dbnb_prior] write fshortcuts[dbnb_prior] default ord(key_pageup);

This item has no description.

Published property shortcut_next: shortcutty read fshortcuts[dbnb_next] write fshortcuts[dbnb_next] default ord(key_pagedown);

This item has no description.

Published property shortcut_last: shortcutty read fshortcuts[dbnb_last] write fshortcuts[dbnb_last] default key_modctrl + ord(key_pagedown);

This item has no description.

Published property shortcut_insert: shortcutty read fshortcuts[dbnb_insert] write fshortcuts[dbnb_insert] default ord(key_none);

This item has no description.

Published property shortcut_delete: shortcutty read fshortcuts[dbnb_delete] write fshortcuts[dbnb_delete] default ord(key_none);

This item has no description.

Published property shortcut_copyrecord: shortcutty read fshortcuts[dbnb_copyrecord] write fshortcuts[dbnb_copyrecord] default ord(key_none);

This item has no description.

Published property shortcut_edit: shortcutty read fshortcuts[dbnb_edit] write fshortcuts[dbnb_edit] default ord(key_f2);

This item has no description.

Published property shortcut_post: shortcutty read fshortcuts[dbnb_post] write fshortcuts[dbnb_post] default ord(key_f2);

This item has no description.

Published property shortcut_cancel: shortcutty read fshortcuts[dbnb_cancel] write fshortcuts[dbnb_cancel] default ord(key_none);

This item has no description.

Published property shortcut_refresh: shortcutty read fshortcuts[dbnb_refresh] write fshortcuts[dbnb_refresh] default ord(key_none);

This item has no description.

Published property shortcut_filter: shortcutty read fshortcuts[dbnb_filter] write fshortcuts[dbnb_filter] default ord(key_none);

This item has no description.

Published property shortcut_filtermin: shortcutty read fshortcuts[dbnb_filtermax] write fshortcuts[dbnb_filtermin] default ord(key_none);

This item has no description.

Published property shortcut_filtermax: shortcutty read fshortcuts[dbnb_filtermax] write fshortcuts[dbnb_filtermax] default ord(key_none);

This item has no description.

Published property shortcut_filteronoff: shortcutty read fshortcuts[dbnb_filteronoff] write fshortcuts[dbnb_filteronoff] default ord(key_none);

This item has no description.

Published property shortcut_find: shortcutty read fshortcuts[dbnb_find] write fshortcuts[dbnb_find] default ord(key_none);

This item has no description.

Published property shortcut_autoedit: shortcutty read fshortcuts[dbnb_autoedit] write fshortcuts[dbnb_autoedit] default ord(key_none);

This item has no description.

Published property options: dbnavigatoroptionsty read foptions write setoptions default defaultdbnavigatoroptions;

This item has no description.

Published property autoedit: boolean read getautoedit write setautoedit default false;

This item has no description.

Published property dialogbutton: tdbnavigbutton read gettoolbutton write settoolbutton;

This item has no description.

Published property ondialogexecute: notifyeventty read fondialogexecute write fondialogexecute;

This item has no description.

Published property onreadonlychange: booleanchangedeventty read fonreadonlychange write fonreadonlychange;

This item has no description.


Generated by PasDoc 1.0.4.