📄 inspform.pas
字号:
unit InspForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, DdhGraph;
type
TInspectForm = class(TForm)
ListBoxItems: TListBox;
BtnInspect: TBitBtn;
BtnClose: TBitBtn;
procedure BtnInspectClick(Sender: TObject);
public
Pts: TDdhPoints;
Designer: TDesigner;
end;
var
InspectForm: TInspectForm;
implementation
{$R *.DFM}
uses
DsgnIntf;
procedure TInspectForm.BtnInspectClick(Sender: TObject);
begin
if ListBoxItems.ItemIndex < 0 then
ShowMessage ('No item selected')
else
(Designer as TFormDesigner).SelectComponent (
Pts [ListBoxItems.ItemIndex]);
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -