⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setlinew.pas

📁 很不错的delphi 画失量图的delphi源代码
💻 PAS
字号:
unit SetLineW;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Spin, Buttons;

type
  TSetLineF = class(TForm)
    GroupBox1: TGroupBox;
    SpinEdit1: TSpinEdit;
    Label1: TLabel;
    BitBtn1: TBitBtn;
    BitBtn2: TBitBtn;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  SetLineF: TSetLineF;
  Function  ShowSetLineWidthForm(var lw:Integer):Boolean;

implementation

{$R *.dfm}

Function  ShowSetLineWidthForm(var lw:Integer):Boolean;
begin
  With TSetLineF.Create(Nil) do begin
    try
      SpinEdit1.Value:=lw;
      if ShowModal=mrOk then begin
        lw:=SpinEdit1.Value;
        Result:=True;
      end else begin
        Result:=False;
      end;
    finally
      Free;
    end;
  end;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -