1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| unit Unit1;
{$Mode Delphi} // {$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, sqldb, db, BufDataset, memds, sqlite3conn, FileUtil, Forms,
Controls, Graphics, Dialogs, StdCtrls, DBGrids,
lyDepasseLabel in 'C:\Users\...\lyDepasseLabel.pas';
type
TForm1 = class(TForm)
//....
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
procedure TForm1.Button2Click(Sender: TObject);
begin
ModifieLabelPourDepassement(Label1, clRed, dmEndPoints);
// avec le curseur, l'IDE montre l'unité qui l'héberge
// le compilo dit "identifier not found : ModifieLabelPourDepassement"
end; |
Partager