unit fdlgllamamientos;

interface

uses
  FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, FireDAC.Comp.DataSet, FireDAC.Comp.Client, uFireDacHelper,
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Data.DB,
    Vcl.DBCtrls, Vcl.Mask;

type
  Tdlgllamamientos = class(TForm)
    listaconvocatorias: TDBLookupListBox;
    qconvocatorias: TFDQuery;
    dsqconvocatorias: TDataSource;
    Button1: TButton;
    Label1: TLabel;
    qconvocatoriasconvocatoria: TWideStringField;
    lfecha: TMaskEdit;
    lhora: TMaskEdit;
    Label2: TLabel;
    Label3: TLabel;
    lfecha2: TMaskEdit;
    Label4: TLabel;
    procedure FormShow(Sender: TObject);
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  dlgllamamientos: Tdlgllamamientos;

implementation

{$R *.dfm}

procedure Tdlgllamamientos.Button1Click(Sender: TObject);
begin
   close();
end;

procedure Tdlgllamamientos.FormShow(Sender: TObject);
begin
    qconvocatorias.Open;
    lfecha.Text:=datetostr(date());
    lfecha.SetFocus;
end;

end.
