Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 06-12-2005
Avatar de marcoszorrilla
marcoszorrilla marcoszorrilla is offline
Capo
 
Registrado: may 2003
Ubicación: Cantabria - España
Posts: 11.221
Poder: 10
marcoszorrilla Va por buen camino
Para que demonios sirve este código

Me he bajado este código de una Web alemana y no logro descifrar para que demonios sirve, a ver si me podeis decir algo:
Código Delphi [-]
  unit Funftausend;
  
  interface
  
  uses
    Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
    StdCtrls;
  
  
  type
    Tform1 = class(TForm)
      procedure Button1Click(Sender: TObject);
      procedure FormCreate(Sender: TObject);
      Procedure Machen(Sender: TObject);
    private
      { Private declarations }
    public
      { Public declarations }
    end;
  
  var
    form1: Tform1;
  const
  Astern:Array[1..28]of integer=($48,$65,$20,$6C,
                                 $6C,$65,$67,$61,
                                 $64,$6F,$20,$61,
                                 $20,$35,$2E,$30,
                                 $30,$30,$20,$6D,
                                 $65,$6E,$73,$61,
                                 $6A,$65,$73,$2E);
  implementation
  
  {$R *.DFM}
  

  
  procedure Tform1.FormCreate(Sender: TObject);
  var
  MeinButton:Tbutton;
  
  begin
    Form1.Caption:='Verfall von Georg Trakl';
    Application.HintHidePause := 15000;
    Application.Hintcolor:=clAqua;
  
    MeinButton:=tbutton.Create(Self);
    MeinButton.Parent:=Self;
    MeinButton.visible:=True;
    MeinButton.SetBounds(200 ,200,100,30);
    MeinButton.Font.Style:=[fsBold];
    MeinButton.caption:='der Vögel';
    MeinButton.hint:=' Am Abend wenn, die Glocken Friden Läuten, '+
    #13+' Folg ich de Vögel wundervollen Flügen, '+#13'';
    MeinButton.showhint:=True;
    MeinButton.OnClick:=form1.Machen;
  end;
  
  Procedure Tform1.Machen(Sender:Tobject);
  var
  MeineLabel:TLabel;
  Zahler:Integer;
  Reihung:String;
  
  begin
    MeineLabel:=Tlabel.Create(Self);
    MeineLabel.Parent:=Self;
    MeineLabel.visible:=True;
    MeineLabel.Left:=100;
    MeineLabel.Top:=100;
  
    For Zahler:=1 to 28 do
    begin
    Reihung:=Reihung + Chr(Astern[Zahler]);
    end;
    MeineLabel.Font.Size:=20;
    MeineLabel.Font.Color:=clRed;
    MeineLabel.Font.Style:=[fsBold];
    MeineLabel.Caption:=Reihung;
  end;
  
  end.

Grüß
__________________
Guía de Estilo de los Foros
Cita:
- Ça c'est la caisse. Le mouton que tu veux est dedans.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 20:40:39.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi