Board index » cppbuilder » PageControl on inherited form

PageControl on inherited form


2004-09-17 02:47:37 AM
cppbuilder36
Hi!
I use form inheritence which i find very useful.
But I have now a problem.
I am unable to place a component (a button for example) on a tabpage which
was created on a base form.
The button is placeing always on the (inherited) form, and not on the
tabpage.
Is it normal?
Keyel
 
 

Re:PageControl on inherited form

"keyel" < XXXX@XXXXX.COM >wrote:
Quote

[...] The button is placeing always on the (inherited) form,
and not on the tabpage. Is it normal?
Could be. What are you setting the button's Parent property to?
~ JD
 

Re:PageControl on inherited form

Nothing. I place the button at design time, the IDE should set it.
"JD" < XXXX@XXXXX.COM >wrote in message
Quote

"keyel" < XXXX@XXXXX.COM >wrote:
>
>[...] The button is placeing always on the (inherited) form,
>and not on the tabpage. Is it normal?

Could be. What are you setting the button's Parent property to?

~ JD

 

{smallsort}

Re:PageControl on inherited form

I solved it with doing (almost) nothing.
I viewed the form in text mode (ALT-F12 ), did nothing only changed back to
visual representation, and now it works.
Funny!?