Simple question about the component creation

Please discuss general Delphi programming topics here.

Simple question about the component creation

Postby marciolevi » February 20th, 2004, 2:07 pm

I made a small project with an object TWebBrowser. I tried to do a native component (called TWebBrowserEx) starting from this project. However, when using this new component (TWebBrowserEx), the delphi shows the "Control '' has no parent window" message. This new component is derived from a TCustomPanel, with a TToolBar, a TWebBrowser and a TStatusBar inside. There will be two new properties in the TWebBrowserEx: ShowToolBar and ShowStatusBar.

Please, help me. The download of this project can be made clicking below in the link:

Thanks and kind regards,

Márcio Levi
Posts: 1
Joined: February 20th, 2004, 2:02 pm

Postby Kambiz » February 20th, 2004, 9:59 pm

Probably you didn't set the Parent property of Toolbar and StatusBar.
User avatar
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Return to Delphi Programming

Who is online

Users browsing this forum: Bing [Bot] and 1 guest