跪求delphi2007或以上版本关于TDBGridOptions的帮助信息(100分)

  • 主题发起人 deardragon_2002
  • 开始时间
D

deardragon_2002

Unregistered / Unconfirmed
GUEST, unregistred user!
以下是D7的,我想要2007的,看看有没有改进,谁有马上送分,在线等待。

TDBGridOption and TDBGridOptions indicate display and behavioral property of a DB grid.
Unit
DBGrids or QDBGrids
Delphi syntax:
type
TDBGridOption = (dgEditing, dgAlwaysShowEditor, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgMultiSelect);
TDBGridOptions = set of TDBGridOption;
C++ syntax:
enum TDBGridOption { dgEditing, dgAlwaysShowEditor, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit,dgMultiSelect };
typedef Set<TDBGridOption, dgEditing, dgMultiSelect> TDBGridOptions;
Description
TDBGridOptions is a set drawn from the following TDBGridOption values:
Value Meaning
dgEditing The user can edit data using the grid. dgEditing is ignored if Options includes dgRowSelect.
dgAlwaysShowEditor The grid is always in edit mode. That is, the userdo
es not have to press Enter or F2 before editing the contents of a cell. dgAlwaysShowEditordo
es nothing unless dgEditing is also included in Options. dgAlwaysShowEditor is ignored if Options includes dgRowSelect.
dgTitles Titles appear at the top of the columns in the grid.
dgIndicator A small pointer appears in the first column to indicate which row is current.
dgColumnResize Columns that are bound to fields can be resized or moved.
dgColLines Lines appear between columns in the grid.
dgRowLines Lines appear between the rows of the grid.
dgTabs The user can navigate through the grid using the Tab and Shift+Tab keys.
dgRowSelect The user can select an entire row, as well as selecting individual cells. If Options includes dgRowSelect, dgEditing and dgAlwaysShowEditor are ignored.
dgAlwaysShowSelection The selected cell displays the focus rectangle even when the griddo
es not have focus.
dgConfirmDelete A message box appears, asking for confirmation, when the user types Ctrl+Delete to delete a row in the grid.
dgCancelOnExit When the user exits the grid from an inserted record to which the user made no modifications, the inserted record is not posted to the dataset. This prevents the inadvertent posting of empty records.
dgMultiSelect More than one row in the grid can be selected at a time.
 
雖然沒有用過,不過估計不會有什麽大改進,Borland就是這樣VCL50年不變的,即使變都不會很大。
 
据说增加了dgThumbTracking、及dgMouseWheel两个选项,用来支持滚动条的跟踪和鼠标滚轮。我是想看看到底有没有增加这两个功能。
 
谢谢,我2009都装上了,没变。
 
顶部