Devexpress cxGrid'de seçili satirin diger custom draw ozelliklerini bozmadan border eklemek:
isFocused := AviewInfo.RecordViewInfo.Selected;
if isFocused then
begin
oldColor := Acanvas.Brush.Color;
if AViewInfo.Item.IsFirst then
borders := [bLeft, bTop, bBottom]
else
if AViewInfo.Item.IsLast then
borders := [bTop, bRight, bBottom]
else
borders := [bTop, bBottom];
AViewInfo.EditViewInfo.BackgroundColor := oldColor;
AViewInfo.EditViewInfo.Font := ACanvas.Canvas.Font;
AViewInfo.EditViewInfo.TextColor := ACanvas.Canvas.Font.Color;
AViewInfo.EditViewInfo.Paint(ACanvas);
ACanvas.DrawComplexFrame(AViewInfo.ClientBounds, borderColor, borderColor, borders, 2);
ADone := True;
end;"Genghis Khan," he said, "you are a wanker; you are a tosspot; you are a very tiny piece of turd. Thank you."
Hala NGage kullananlara indirim yapcaklarmış.
ve ardından bir programlama kitabından beklenmeyecek derinlikte bir tespit.
Bir git macerası daha:
Yeni gui front-end'imiz: gitextensions Putty, msysgit ve kdiff3 kuruyor. Çok anlatılcak birşey yok da github ile bağlantı kurarken ssh keyler filan sorun çıkardı bir dolu vakit kaybı oldu. Yazayım burada bulunsun:
ssh git@github
~\GitExtensions\PuTTY>plink.exe -i PUTTY_PRIVATE_KEY.ppk git@github.com