开发者

Is it possible for the user to use an ActiveX control which is unknown for application?

I actually want to import an activeX control while it's not installed on Delphi and its class is not specific. I actually want to import and use ActiveX controls on runtime without im开发者_高级运维porting them in delphi IDE. Is this possible?


I am not sure that I have understood your needs, but it might be really simple: Drop a TOLEContainer on your form, and make it Align := alClient. Then do

procedure TForm1.FormCreate(Sender: TObject);
begin
  OleContainer1.InsertObjectDialog;
end;

This will allow the user to insert any registered (on the user's machine) OLE control in the TOLEContainer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜