mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
f2b8b82515
Added another feature for the Code-Explorer
32 lines
567 B
ObjectPascal
Executable File
32 lines
567 B
ObjectPascal
Executable File
unit UnitfrmMOTDGen;
|
|
|
|
interface
|
|
|
|
uses
|
|
SysUtils, Windows, Messages, Classes, Graphics, Controls, ClipBrd,
|
|
StdCtrls, ExtCtrls, Forms, mxFlatControls, TBXDkPanels, SpTBXDkPanels,
|
|
SpTBXControls;
|
|
|
|
type
|
|
TfrmMOTDGen = class(TForm)
|
|
txtMOTD: TmxFlatMemo;
|
|
cmdClose: TSpTBXButton;
|
|
cmdCopy: TSpTBXButton;
|
|
lblLength: TLabel;
|
|
procedure cmdCopyClick(Sender: TObject);
|
|
end;
|
|
|
|
var
|
|
frmMOTDGen: TfrmMOTDGen;
|
|
|
|
implementation
|
|
|
|
{$R *.DFM}
|
|
|
|
procedure TfrmMOTDGen.cmdCopyClick(Sender: TObject);
|
|
begin
|
|
Clipboard.SetTextBuf(txtMOTD.Lines.GetText);
|
|
end;
|
|
|
|
end.
|