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

📄 oleregister10.pas

📁 是一个delphi的流程制作软件
💻 PAS
字号:

//========================= OLE UI UTILITIES ===================================
//
// This is s component editor for the OleOEditLinksDislog component
//
// Grahame Marsh
// Freeware for UNDU - you get it for free I make no promises
// gsmarsh@aol.com
//------------------------------------------------------------------------------

{$I OLE.INC}

unit OleRegister10;

interface

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

type
  TOleEditLinksForm = class(TForm)
    PageControl: TPageControl;
    StandardTabSheet: TTabSheet;
    GroupBox2: TGroupBox;
    Label4: TLabel;
    Label5: TLabel;
    CaptionEdit: TEdit;
    CentreCheckBox: TCheckBox;
    ResourceEdit: TEdit;
    GroupBox3: TGroupBox;
    DisableBreakLinkCheckBox: TCheckBox;
    HelpCheckBox: TCheckBox;
    DisableChangeSourceCheckBox: TCheckBox;
    DisableOpenSourceCheckBox: TCheckBox;
    OK: TBitBtn;
    CancelBtn: TBitBtn;
    DisableUpdateNowCheckBox: TCheckBox;
  private
    FComponent : TComponent;
  public
    property Dialog : TComponent read FComponent write FComponent;
    procedure Initialise;
    procedure Finalise;
  end;

var
  OleEditLinksForm: TOleEditLinksForm;

implementation

{$R *.DFM}

procedure TOleEditLinksForm.Initialise;
begin
  with FComponent as TOleEditLinksDialog do
  begin
// Standard tab
    CentreCheckBox.Checked := AutoCentre;
    CaptionEdit.Text := Caption;
    ResourceEdit.Text := Resource;
    HelpCheckBox.Checked := ShowHelp;
    DisableBreakLinkCheckBox.Checked := DisableBreakLink;
    DisableChangeSourceCheckBox.Checked := DisableChangeSource;
    DisableOpenSourceCheckBox.Checked := DisableOpenSource;
    DisableUpdateNowCheckBox.Checked := DisableUpdateNow
  end
end;

procedure TOleEditLinksForm.Finalise;
begin
  with FComponent as TOleEditLinksDialog do
  begin
// Standard tab
    AutoCentre := CentreCheckBox.Checked;
    Caption := CaptionEdit.Text;
    Resource := ResourceEdit.Text;
    ShowHelp := HelpCheckBox.Checked;
    DisableBreakLink := DisableBreakLinkCheckBox.Checked;
    DisableChangeSource := DisableChangeSourceCheckBox.Checked;
    DisableOpenSource := DisableOpenSourceCheckBox.Checked;
    DisableUpdateNow := DisableUpdateNowCheckBox.Checked
  end
end;


end.

⌨️ 快捷键说明

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