![]() |
![]() |
![]() |
![]() |
![]() |
FTP | ![]() |
![]() |
CCD | ![]() |
![]() |
Buscar | ![]() |
![]() |
Trucos | ![]() |
![]() |
Trabajo | ![]() |
![]() |
Foros | ![]() |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
![]() |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
![]() Hola necesito crear varios componentes en tiempo de ejecucion
para el FastReport. Lo siguiente no me anda no se porqué, desde ya gracias procedure TForm1.Button1Click(Sender: TObject); Var frxPage: TfrxReportPage; frxMemoView: TfrxMemoView; Begin // limpio el reporte, (tampoco me anda si no lo limpio y creo el memo al frxReport1 frxReport1.Clear; frxPage := TfrxReportPage.Create(frxReport1); frxPage.CreateUniqueName; //frxMemoView := TfrxMemoView.Create(frxReport1); // si no lo limpio, no da error pero no se ve //frxMemoView := TfrxMemoView.Create(frxReport1.Pages[0]); // error frxMemoView := TfrxMemoView.Create(frxPage); frxMemoView.CreateUniqueName; frxMemoView.Left := 10; frxMemoView.Top := 2; frxMemoView.Height := 0.5; frxMemoView.Width := 2; frxMemoview.Text:='CREADO O NO CREADO ESA ES LA CUESTION'; frxReport1.ShowReport; end; |
#2
|
|||
|
|||
![]() Listo con SetBounds y AutoWidth
[ delphi ] procedure TForm1.Button3Click(Sender: TObject); Var frxPage: TfrxReportPage; frxMemoView: TfrxMemoView; Begin frxReport1.Clear; frxPage := TfrxReportPage.Create(frxReport1); frxPage.CreateUniqueName; frxMemoView := TfrxMemoView.Create(frxPage); frxMemoView.CreateUniqueName; frxMemoview.Text:='CREADO O NO CREADO ESA ES LA CUESTION'; frxmemoView.SetBounds(10,11,200,15); // Left, Top, Width, Height frxmemoView.AutoWidth := True; // con esto el width se adapta automáticamente frxReport1.ShowReport; end; |
![]() |
|
|
![]() |
||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Componente tipo GRID para filtrar una tabla como hace excel con los Autofiltros | flystar | Varios | 7 | 18-11-2008 09:26:05 |
crear componentes para fastreport studio | droguerman | Impresión | 0 | 26-10-2007 20:32:07 |
Necesito componente para imprimir codigo de barras en un QReport | evert | Impresión | 2 | 19-12-2006 17:31:09 |
Crear componente por medio de codigo | Markoz | Firebird e Interbase | 2 | 24-05-2006 21:46:13 |
Campo memo tabla escribirlo en componente Memo | Sayuri | Conexión con bases de datos | 2 | 18-08-2005 13:58:01 |
![]() |
|