como usar o gauge com o bd
como faço para ligar um gauge ou um progressbar com alguma tarfa digamos salvar bd, carregar bd em uma lista etc...
Luiz_aquino
Curtidas 0
Respostas
Reginaldo174
11/11/2004
como faço para ligar um gauge ou um progressbar com alguma tarfa digamos salvar bd, carregar bd em uma lista etc...
não entendi direito ! vc quer que aconteça alguma coisa quando o gauge é executado ???
GOSTEI 0
Pehdepano
11/11/2004
Percorrendo uma tabela inteira.
exemplo:
[i:eac7dfb2f3]Tabela.Open;
Tabela.First;
Gauge1.progress:=0;
Gauge1.MaxValue := Tabela.RecordCount;
while not Tabela.Eof do
begin
//Coloque aqui seu procedimento
Tabela.Next;
Gauge1.Progress := Gauge1.Progress+1;
end;
[/i:eac7dfb2f3]
exemplo:
[i:eac7dfb2f3]Tabela.Open;
Tabela.First;
Gauge1.progress:=0;
Gauge1.MaxValue := Tabela.RecordCount;
while not Tabela.Eof do
begin
//Coloque aqui seu procedimento
Tabela.Next;
Gauge1.Progress := Gauge1.Progress+1;
end;
[/i:eac7dfb2f3]
GOSTEI 0