FIX: not commited uColumns.pas

This commit is contained in:
meteu 2016-03-29 15:16:29 +00:00
commit 35986fef4e

View file

@ -85,6 +85,7 @@ type
CursorText,
InactiveCursorColor,
InactiveMarkColor: TColor;
BorderFrameWidth :integer;
UseInvertedSelection: Boolean;
UseInactiveSelColor: Boolean;
Overcolor: Boolean;
@ -145,6 +146,8 @@ type
function GetColumnUseInvertedSelection(const Index: Integer): Boolean;
function GetColumnUseInactiveSelColor(const Index: Integer): Boolean;
function GetColumnOvercolor(const Index: Integer): Boolean;
function GetColumnBorderFrameWidth(const Index: Integer):integer;
//---------------------
function GetColumnPrm(const Index: Integer): TColPrm;
//---------------------
@ -417,6 +420,14 @@ begin
Result := gAllowOverColor;
end;
function TPanelColumnsClass.GetColumnBorderFrameWidth(const Index: Integer): integer;
begin
if FCustomView and (Index < Flist.Count) then
Result := TPanelColumn(Flist[Index]).BorderFrameWidth
else
Result := gBorderFrameWidth;
end;
function TPanelColumnsClass.GetColumnPrm(const Index: Integer): TColPrm;
begin
if Index >= Flist.Count then