RTFormwork/项目代码/RTBasicsV1/T03贸易布匹检验/U_InputBoxCoefficient.pas
“ddf” 61630656e9 1
2024-07-07 09:35:27 +08:00

40 lines
720 B
ObjectPascal

unit U_InputBoxCoefficient;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, DB, ADODB;
type
TfrmInputBoxCoefficient = class(TForm)
Panel1: TPanel;
Button1: TButton;
Conversion: TEdit;
RuleConversion: TComboBox;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
FFFIDS: string;
{ Public declarations }
end;
var
frmInputBoxCoefficient: TfrmInputBoxCoefficient;
implementation
{$R *.dfm}
procedure TfrmInputBoxCoefficient.Button1Click(Sender: TObject);
begin
if StrToFloatDef(Conversion.Text, 0) = 0 then
Conversion.Text := '0';
ModalResult := 1;
end;
end.