unit uSelectCom; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ButtonPanel, StdCtrls, EditBtn, ExtCtrls, MCSLSU; type { TfrmSelectCom } TfrmSelectCom = class(TForm) ButtonPanel1: TButtonPanel; cbServices: TComboBox; Label1: TLabel; Label2: TLabel; Label3: TLabel; procedure FormCreate(Sender: TObject); procedure FormShow(Sender: TObject); private { private declarations } public { public declarations } end; var frmSelectCom: TfrmSelectCom; implementation {$R *.lfm} { TfrmSelectCom } var lsuCode : integer; procedure TfrmSelectCom.FormCreate(Sender: TObject); begin MCSLSU.MakeForm('frmSelectCom', 'ID_', frmSelectCom ); end; procedure TfrmSelectCom.FormShow(Sender: TObject); begin MCSLSU.MakeForm('frmSelectCom', 'ID_', frmSelectCom ); end; end.