![]() |
![]() |
![]() |
![]() |
![]() |
FTP | ![]() |
![]() |
CCD | ![]() |
![]() |
Buscar | ![]() |
![]() |
Trucos | ![]() |
![]() |
Trabajo | ![]() |
![]() |
Foros | ![]() |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
declarar variables globales
Hola, buenas tarde
Tengo una stringGrid para imprimir en QReport pero no se donde declarar la variable i: void __fastcall TForm3::qr1NeedData(TObject *Sender, bool &MoreData) { MoreData=i<Form1->sg->RowCount; if (MoreData){ QRLabel1->Caption=Form1->sg->Cells[1][i]; QRLabel2->Caption=Form1->sg->Cells[2][i]; QRLabel3->Caption=Form1->sg->Cells[3][i]; QRLabel4->Caption=Form1->sg->Cells[4][i]; QRLabel5->Caption=Form1->sg->Cells[5][i]; QRLabel6->Caption=Form1->sg->Cells[6][i]; QRLabel7->Caption=Form1->sg->Cells[7][i]; } i++; } Espero que me ayudeis. Última edición por mcnudi fecha: 08-11-2006 a las 09:27:50. |
|
|
![]() |
||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Problema de organizacion: ¿dónde declarar objetos globales? | Bauhaus1975 | Varios | 3 | 04-05-2006 19:13:11 |
Variables Globales | Abel Garcia | Firebird e Interbase | 8 | 26-09-2005 15:20:59 |
Variables globales en PHP | JulioGO | PHP | 3 | 08-04-2005 14:36:57 |
Variables Super Globales | JANDREGUE | Varios | 1 | 18-03-2005 18:03:16 |
![]() |
|