[Lazarus] StringGrid

Kamen Kamen kamenlist at abv.bg
Mon Jul 8 10:58:28 CEST 2013


 That did it, thank you both!

-------- Оригинално писмо --------
От:  Vojtěch Čihák  
Относно: Re: [Lazarus] StringGrid
До: Lazarus mailing list  
Изпратено на: Неделя, 2013, Юли 7 13:32:50 EEST


 Try this: 

 
 

 procedure TForm1.StringGrid1PrepareCanvas(sender: TObject; aCol, aRow: Integer; 

 aState: TGridDrawState);

begin


 if aCol = aRow then (Sender as TStringGrid).Canvas.Font.Style := [fsBold];

end; 

 
 

 Vojtěch
 

 ______________________________________________________________

> Od: "Kamen Ketev"  

> Komu:  

> Datum: 07.07.2013 02:29

> Předmět: [Lazarus] StringGrid

> 

 Hello, I want to change certain cells in StringGrid.




----------



--

_______________________________________________

Lazarus mailing list

Lazarus at lists.lazarus.freepascal.org

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus  


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130708/69231430/attachment-0003.html>


More information about the Lazarus mailing list