Update utslvcldpropertytypes.tsf
美化设计器
This commit is contained in:
@@ -850,6 +850,11 @@ type TPropGrid = class(TTSLDataGrid)
|
||||
edit := GetCellEditer(d["class"]);
|
||||
if not(edit)then return inherited;
|
||||
edit.CellDraw(o,e,d);
|
||||
dc.pen.color := 0xe0e0f0;
|
||||
dc.pen.width := 1;
|
||||
dc.moveto(src[array(0,3)]-1);
|
||||
dc.LineTo(src[array(2,3)]-1);
|
||||
dc.LineTo(src[array(2,1)]-1);
|
||||
|
||||
end
|
||||
property EventEditer write FEventEditer;
|
||||
@@ -4125,6 +4130,12 @@ type TBitmapGrid = class(TGridList)
|
||||
begin
|
||||
return inherited;
|
||||
end else
|
||||
begin
|
||||
dc.pen.color := 0xe0e0f0;
|
||||
dc.pen.width := 1;
|
||||
dc.moveto(src[array(0,3)]-1);
|
||||
dc.LineTo(src[array(2,3)]-1);
|
||||
dc.LineTo(src[array(2,1)]-1);
|
||||
if j = 1 and it.HandleAllocated() then
|
||||
begin
|
||||
src[2] := src[0]+40;
|
||||
@@ -4139,6 +4150,7 @@ type TBitmapGrid = class(TGridList)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
type tnone = class()
|
||||
function create();
|
||||
@@ -4208,6 +4220,11 @@ type TListStatusbarItem = class(TGridList)
|
||||
end
|
||||
else di := di["text"];
|
||||
dc.DrawText(di,src,DT_VCENTER .| DT_SINGLELINE);
|
||||
dc.pen.color := 0xe0e0f0;
|
||||
dc.pen.width := 1;
|
||||
dc.moveto(src[array(0,3)]-1);
|
||||
dc.LineTo(src[array(2,3)]-1);
|
||||
dc.LineTo(src[array(2,1)]-1);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user