mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
f2b8b82515
Added another feature for the Code-Explorer
41 lines
791 B
ObjectPascal
Executable File
41 lines
791 B
ObjectPascal
Executable File
unit UnitfrmConnGen;
|
|
|
|
interface
|
|
|
|
uses
|
|
SysUtils, Windows, Messages, Classes, Graphics, Controls,
|
|
StdCtrls, ExtCtrls, Forms, SpTBXEditors, TntStdCtrls, TBXDkPanels,
|
|
SpTBXDkPanels, SpTBXControls;
|
|
|
|
type
|
|
TfrmConnGen = class(TForm)
|
|
lblState: TLabel;
|
|
pnlSettings: TPanel;
|
|
lblHost: TLabel;
|
|
txtHost: TSpTBXEdit;
|
|
lblPort: TLabel;
|
|
txtPort: TSpTBXEdit;
|
|
lblProtocol: TLabel;
|
|
cboProtocol: TSpTBXComboBox;
|
|
cmdOK: TSpTBXButton;
|
|
cmdCancel: TSpTBXButton;
|
|
lblSocketName: TLabel;
|
|
txtName: TSpTBXEdit;
|
|
procedure txtNameKeyPress(Sender: TObject; var Key: Char);
|
|
end;
|
|
|
|
var
|
|
frmConnGen: TfrmConnGen;
|
|
|
|
implementation
|
|
|
|
{$R *.DFM}
|
|
|
|
procedure TfrmConnGen.txtNameKeyPress(Sender: TObject; var Key: Char);
|
|
begin
|
|
if Key = #32 then
|
|
Key := #0;
|
|
end;
|
|
|
|
end.
|