代码拉取完成,页面将自动刷新
unit Unit2;
interface
uses
FMX.Platform,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
UI.Base, FMX.Controls.Presentation, UI.Edit, UI.Standard, FMX.ListBox,
FMX.Menus;
type
TFrame2 = class(TFrame)
LinearLayout1: TLinearLayout;
LinearLayout2: TLinearLayout;
TextView1: TTextView;
edtModeKeys: TEditView;
TextView2: TTextView;
LinearLayout3: TLinearLayout;
TextView3: TTextView;
edtHashKeys: TEditView;
TextView4: TTextView;
edtBuckets: TEditView;
cbMode: TComboBox;
LinearLayout4: TLinearLayout;
cbName: TCheckBox;
tvHint: TEditView;
tvFields: TTextView;
PopupMenu1: TPopupMenu;
MenuItem1: TMenuItem;
edtGroup: TEditView;
TextView5: TTextView;
TextView6: TTextView;
edtReNum: TEditView;
procedure MenuItem1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
procedure CopyText(const Text: string);
end;
implementation
{$R *.fmx}
procedure TFrame2.CopyText(const Text: string);
var
FClipboardSvc: IFMXClipboardService;
begin
if not TPlatformServices.Current.SupportsPlatformService(IFMXClipboardService, IInterface(FClipboardSvc)) then
Exit;
FClipboardSvc.SetClipboard(Text);
end;
procedure TFrame2.MenuItem1Click(Sender: TObject);
begin
CopyText(cbName.Text);
end;
end.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。