Вниз
Скачать: CL | DM;

Grid   Найти похожие ветки 

 
DelphiM ©   (2003-09-06 23:23) [0]

Подскажите пожалусто как вставить в стандартный грид чекбокс вмето поля BOOL


 
Vlad ©   (2003-09-07 02:17) [1]

OnDrawColumnCell
DrawFrameControl см. Хелп.


 
zeus   (2003-09-08 12:08) [2]

procedure TF_Main.DocListDrawColumnCell(Sender: TObject;
const GRect: TRect; DataCol: Integer; Column: TColumnEh;
State: TGridDrawState);
var
MyRect : TRect;
h: Integer;
Image : TBitmap;
begin
DocList.Canvas.FillRect(GRect);
MyRect := GRect;
MyRect.Right := MyRect.Right + 14;
MyRect.Left := GRect.Left;
Image := TBitmap.Create;
ImageList1.GetBitmap(DM.QDocListDOC_TYPE.AsInteger - 1, Image);
h := (MyRect.Bottom - MyRect.Top - DocList.Canvas.TextHeight("Y")) div 2;
Image.Transparent := True;
DocList.Canvas.Draw(MyRect.Left, MyRect.Top + h, Image);
Image.Free;
if DM.QDocListBLACK.AsString = "T" then
begin
Image := TBitmap.Create;
ImageList1.GetBitmap(4, Image);
h := (MyRect.Bottom - MyRect.Top - DocList.Canvas.TextHeight("Y")) div 2;
Image.Transparent := True;
DocList.Canvas.Draw(MyRect.Left+14, MyRect.Top + h, Image);
Image.Free;
end;
DocList.Canvas.TextOut(MyRect.Left + 29, MyRect.Top + h, DM.QDocListNAME.AsString);
end
else DocList.DefaultDrawColumnCell(GRect, DataCol, Column, State);
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.012 c
1-96160
flesh
2003-09-18 11:06
2003.09.29
CoInitialize has not been called в TXSLPageProducer.content


14-96385
IronHawk
2003-09-11 16:12
2003.09.29
Напомните пожалуйста линк, недавно тут пролетал...


1-96191
Kremen
2003-09-16 10:18
2003.09.29
Как програмно узнать разрешение экрана?


3-96073
yurez
2003-09-09 11:56
2003.09.29
Как забороть ошибку? internal gds software consistency check


6-96316
Maks Realov
2003-07-31 14:02
2003.09.29
Как получить текущие параметры прокси, которые в IE соят?




   Наверх