Page 1 of 1

Simple question about the component creation

PostPosted: February 20th, 2004, 2:07 pm
by marciolevi
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:

http://www.mlsoftware.com.br/twebbrowserex.zip

Thanks and kind regards,


Márcio Levi
http://www.mlsoftware.com.br/index_ing.htm

PostPosted: February 20th, 2004, 9:59 pm
by Kambiz
Probably you didn't set the Parent property of Toolbar and StatusBar.