Главная страница | назад





Article #20468: How to enable the cut and copy operations for the TWebBrowser component in Delphi 5.

Why don't the cut and copy operations work for the TWebBrowser component in Delphi 5?

If you are going to use the TWebBrowser and want to enable cut and copy, you will need to add these lines of code at the bottom of the your unit:

initialization
OleInitialize(nil);
finalization
OleUninitialize;

You will also need to add ActiveX to your uses clause.

Last Modified: 19-JAN-00