用RichEdit吧(bcb):
void __fastcall TForm1::RichEdit1DragOver(TObject *Sender, TObject *Source,
int X, int Y, TDragState State, bool &Accept)
{
if(Source->InheritsFrom(__classid(TCppWebBrowser)))
Accept = true;
RichEdit1->Text=CppWebBrowser1->Type;
}
void __fastcall TForm1::RichEdit1DragOver(TObject *Sender, TObject *Source,
int X, int Y, TDragState State, bool &Accept)
{
if(Source->InheritsFrom(__classid(TCppWebBrowser)))
Accept = true;
RichEdit1->Text=CppWebBrowser1->Type;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货