Mega Code Archive

 
Categories / Delphi / LAN Web TCP
 

How to check if the copy command is active in a TWebBrowser

Title: How to check if the copy command is active in a TWebBrowser procedure TForm1.ButtonIsCopyEnabledClick(Sender: TObject); begin if Webbrowser1.OleObject.Document.queryCommandEnabled('Copy') then ShowMessage('Copy is active/ Copy ist aktiv'); end;