Cita:
Empezado por luis_sencion
...como puedo cuadricular una forma en delphi, para que tengan un ejemplo es como el componente de zreport.
|
Prueba a poner un form con un TButton; En el Click programa lo siguiente:
Código Delphi
[-]
const
GRID_INC = 10; var
i,j:Integer;
begin
i := 0;
j := 0;
while i < Self.Width do begin
while j < Self.Height do begin
Canvas.Pixels[i, j] := clBlack;
j := j + GRID_INC;
end;
i := i + GRID_INC;
j := 0;
end;
Te puede servir para empezar con algunas pruebas.