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

📄 uexcelprograss.pas

📁 超级好用的韩国数据表控件一共5个 Korea, a data table control
💻 PAS
字号:
unit UExcelPrograss;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  ComCtrls, StdCtrls;

type
  TExcel_Processing = class(TForm)
    Label1: TLabel;
    pBar: TProgressBar;
    sBar: TStatusBar;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

procedure Excel_process_Create;
procedure Excel_Set( Max : Integer );
procedure Excel_process( Pos : Integer );
procedure Excel_process_Free;

var
  Excel_Processing: TExcel_Processing;

implementation
{$R *.DFM}
procedure Excel_process_Create;
begin
  Excel_Processing := TExcel_Processing.Create( Application );

  Excel_Processing.sbar.Visible := False;

  Excel_Processing.pBar.Min := 1;

  Excel_Processing.pBar.Visible := false;

  Excel_Processing.Hide;
  Excel_Processing.Show;
  Excel_Processing.Refresh;

End;

procedure Excel_SET( Max : Integer );
begin
  Excel_Processing.pBar.Min := 1;
  If Max < Excel_Processing.pBar.Min Then
    Excel_Processing.pBar.Visible := false
  Else
  begin
    Excel_Processing.pBar.Visible := True;
    Excel_Processing.pBar.Max := max;
  End;
End;

procedure Excel_process( Pos : Integer );
begin
  If Excel_Processing.pBar.Visible Then
    Excel_Processing.pBar.Position := Pos;
End;
procedure Excel_process_Free;
begin
  FreeAndNil( Excel_Processing );
End;

end.

⌨️ 快捷键说明

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