abalex

Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору pavluha А так: dgMultiSelect + AllowedSelections Вот кусок из хелпа: Multiselect ------------ TDBGridEh allows to select records, columns and rectangle areas for following operations on selected area. On allowing of multiselect affects next properties: dgMultiSelect in Options property - Specifies whether the multiselect is allowed. dghClearSelection in OptionsEh property - Specifies whether the selection will be cleared after user move to next cell. EditActions property - Specifies actions which user can execute on selection (Copy,Cut,Delete,Paste,SelectAll). AllowedSelections - Specifies the types of selection that allowed to do (Rows, Columns, Rectangle area, All). Selection property specify a current multiselection state, selected records, columns or rectangle area and have properties and functions to access them. |