2007-10-08 08:05:23 +00:00
|
|
|
unit uDialogBase;
|
|
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
|
|
uses
|
|
|
|
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
|
|
|
Dialogs, StdCtrls, ExtCtrls, ActnList;
|
|
|
|
|
|
|
|
|
|
type
|
|
|
|
|
TfDialogBase = class(TForm)
|
|
|
|
|
ActionList1: TActionList;
|
|
|
|
|
actAceptar: TAction;
|
|
|
|
|
actCancelar: TAction;
|
2009-06-02 10:54:55 +00:00
|
|
|
pnlBotones: TPanel;
|
|
|
|
|
btnAceptar: TButton;
|
|
|
|
|
btnCancelar: TButton;
|
|
|
|
|
pnlHeader: TPanel;
|
2007-10-08 08:05:23 +00:00
|
|
|
lblInstruccion: TLabel;
|
|
|
|
|
Label2: TLabel;
|
2009-06-02 10:54:55 +00:00
|
|
|
Bevel3: TBevel;
|
|
|
|
|
Bevel2: TBevel;
|
|
|
|
|
pnlCuerpo: TPanel;
|
2007-10-08 08:05:23 +00:00
|
|
|
procedure FormShow(Sender: TObject);
|
|
|
|
|
private
|
|
|
|
|
{ Private declarations }
|
|
|
|
|
public
|
|
|
|
|
{ Public declarations }
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
|
|
{$R *.dfm}
|
|
|
|
|
|
|
|
|
|
uses
|
2009-06-02 10:54:55 +00:00
|
|
|
uDMBase;
|
2007-10-08 08:05:23 +00:00
|
|
|
|
|
|
|
|
procedure TfDialogBase.FormShow(Sender: TObject);
|
|
|
|
|
begin
|
|
|
|
|
lblInstruccion.Font.Color := dmBase.StyleManager.Colors.HeaderColorTo;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
end.
|