You've already forked lazarus-ccr
RxFPC:new options for TPopUpGridOption - pfgRowSelect. For detail see bug id #0032675
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6065 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -62,7 +62,7 @@ type
|
||||
end;
|
||||
|
||||
TPopUpGridOption = (pfgIndicator, pfgColLines, pfgRowLines, pfgColumnResize,
|
||||
pfgColumnMove);
|
||||
pfgColumnMove, pfgRowSelect);
|
||||
|
||||
TPopUpGridOptions = set of TPopUpGridOption;
|
||||
|
||||
@ -548,6 +548,13 @@ begin
|
||||
else
|
||||
FGrid.Options:=FGrid.Options - [dgTitles];
|
||||
|
||||
if (pfgRowSelect in FPopUpFormOptions.FOptions) then
|
||||
FGrid.Options:=FGrid.Options + [dgRowSelect]
|
||||
else
|
||||
FGrid.Options:=FGrid.Options - [dgRowSelect]
|
||||
;
|
||||
|
||||
|
||||
FGrid.AutoSort:=FPopUpFormOptions.AutoSort;
|
||||
FGrid.TitleButtons:=FPopUpFormOptions.TitleButtons;
|
||||
FGrid.TitleStyle:=FPopUpFormOptions.TitleStyle;
|
||||
|
Reference in New Issue
Block a user