D10xhGemei/A02基础产品管理/U_SelectStore.pas

41 lines
834 B
ObjectPascal
Raw Permalink Normal View History

2026-02-05 17:10:07 +08:00
unit U_SelectStore;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, U_BaseInput, cxImageList, cxGraphics,
System.ImageList, Vcl.ImgList, Data.DB, Data.Win.ADODB, Vcl.StdCtrls;
type
TfrmSelectStore = class(TfrmBaseInput)
btnOK: TButton;
cbStore: TComboBox;
btnCancel: TButton;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
function SelectedStore: string;
end;
var
frmSelectStore: TfrmSelectStore;
implementation
{$R *.dfm}
procedure TfrmSelectStore.FormCreate(Sender: TObject);
begin
inherited;
cbStore.ItemIndex := 0;
end;
function TfrmSelectStore.SelectedStore: string;
begin
Result := Trim(cbStore.Text);
end;
end.