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

📄 priv.pas

📁 How to restruct paradox DB when you encounter pb whith indexes. You have to use this mecanism to re
💻 PAS
字号:
{$A+,B-,C-,D+,E-,F-,G+,H+,I+,J+,K-,L+,M-,N+,O+,P+,Q+,R+,S+,T-,U-,V+,W-,X+,Y-,Z1}
{$MINSTACKSIZE $00004000}
{$MAXSTACKSIZE $00100000}
{$IMAGEBASE $00400000}
{$APPTYPE GUI}

unit priv;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls, Buttons, BDE, DB, DBTables;

type
  TPrivateDirForm = class(TForm)
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    PrivDirEd: TEdit;
    SpeedButton1: TSpeedButton;
    OpenDialog1: TOpenDialog;
    OKBtn: TButton;
    CancelBtn: TButton;
    procedure SpeedButton1Click(Sender: TObject);
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  PrivateDirForm: TPrivateDirForm;

implementation

{$R *.DFM}

procedure TPrivateDirForm.SpeedButton1Click(Sender: TObject);
begin
  if OpenDialog1.Execute then
    PrivDirEd.Text := LowerCase(ExtractFilePath(OpenDialog1.FileName));
end;

procedure TPrivateDirForm.FormShow(Sender: TObject);
var
  SessionInfo: SesInfo;

begin
  Check(DbiGetSesInfo(SessionInfo));
  Label2.Caption := SessionInfo.szPrivDir;
  PrivDirEd.Text := SessionInfo.szPrivDir;
end;

end.

⌨️ 快捷键说明

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