Fórum DELPHI 7 - SISTEMA DE SENHAS PARA FILAS #500863
11/11/2014
0
Herlei Rodrigues
Curtir tópico
+ 0Posts
11/11/2014
Ricardo
Gostei + 0
11/11/2014
Ricardo
Gostei + 0
11/11/2014
Herlei Rodrigues
Gostei + 0
11/11/2014
Ricardo
Quanto a usar um banco de dados não vejo a real necessidade, a não ser que seja algo como um agendamento etc...
var
Form1: TForm1;
senha : Integer = 0;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
senha := senha + 1;
if senha > 10 then
begin
ShowMessage('Senha no limite(999)!');
abort;
end
else
Label2.Caption := FormatFloat('000', senha);;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
senha := 0;
Label2.Caption := FormatFloat('000', senha);
end;Gostei + 0
11/11/2014
Ricardo
if senha > 10 then
altere para 999
Gostei + 0
11/11/2014
Herlei Rodrigues
Gostei + 0
11/11/2014
Herlei Rodrigues
Gostei + 0
11/11/2014
Ricardo
Exemplo:
QrRep.QrLabel.caption : = formatfloat('000', senha);
Gostei + 0
11/11/2014
Herlei Rodrigues
Gostei + 0
11/11/2014
Ricardo
Gostei + 0
11/11/2014
Herlei Rodrigues
Gostei + 0
11/11/2014
Herlei Rodrigues
Gostei + 0
12/11/2014
Ricardo
Gostei + 0
14/11/2014
Herlei Rodrigues
Gostei + 0
21/06/2015
Control Ltda
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)