![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
|||
|
|||
|
Stringgrid doble texto
Que tal buen dia,estoy utilizando un stringgrid lo que quiero hacer es que al momento que esta esta seleccionada resalte la fila encontre este codigo buscando en este foro:
Código:
var
i:Integer;
texto:STring;
begin
For i:=1 to StringGrid1.ColCount-1 Do
begin
If (gdSelected in State) Then
begin
StringGrid1.Canvas.Font.Color := clred;
StringGrid1.Canvas.Font.Style:=[fsBold];
end
else
StringGrid1.Canvas.Font.Color := clBlack;
Texto := StringGrid1.Cells[ACol,ARow];
StringGrid1.Canvas.TextRect( Rect, Rect.Left+2, Rect.Top+2, Texto);
end;
|
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Problema al alinear texto en StringGrid en XE | adrall | OOP | 0 | 21-06-2011 11:58:05 |
| Centrar texto StringGrid | mizzard | C++ Builder | 17 | 11-05-2011 23:20:38 |
| StringGrid doble fila | mjjj | Varios | 3 | 11-07-2008 16:19:08 |
| Escanear Doble Cara, Doble Lector | karenthyuliana | Gráficos | 2 | 11-04-2008 17:29:42 |
| alinear a la derecha texto de un stringgrid | ctronx | Varios | 10 | 07-09-2007 21:54:59 |
|