>From what I understand you can't subclass a Container Control like you do
any other control, it works more like the way you subclass a window i.e.

Create a new class (myCC)
Set it's super to ContainerControl
Add your methods, props and whatever
Create a new ContainerControl
Set it's super to myCC

HTH 

on 27-07-2006 14:46, Karen at [EMAIL PROTECTED] wrote:

> 
> On Jul 27, 2006, at 8:15 AM, Jonathan Johnson wrote:
>> It should be supported. We use this technique ourselves in the 2006
>> IDE itself.
> 
> Not with the RB2006R3 IDE !!!! If you did you would see the issue.
> 
> 
>> If there's something not working, please file a report with some
>> easy steps to reproduce -- I had a hard time figuring out what
>> exactly you were doing above, which is why I didn't reply the first
>> time :)
> 
> What's to figure out? To parphrase Yoda:  "Do ***WITH Rb2006R3*** NOT
> figure!" ;)
> 
> What's easier than this? In a new project :
> 
> 1) Create a container control (ContainerControl1)... in my case it
> had two bevelButtons on it -one as button the other as menu)
> 
> 2) Create a new Class (Class1). Assign it's super to ContainerControl1.
> 
> 3) Go to the default window (window1) in layout mode
> 
> 4) Select project Controls and try to drag Class1 onto the window to
> create an instance.
> What you get is a tiny little selection outline (as small as possible
> I think) and if you click elsewhere it disappears in the IDE
> 
> 5) Try Double Clicking Class1 entry to add it to the window. You get
> a selection outline the size of the window instead of the size of the
> super container control. You can can resize teh selection enclosing
> the invisible control ... but click elsewhere and it disappears as it
> is not visible
> 
> But if you run the project the subclassed container control appears
> in the app as it should.
> 
> If you can't see it in the layout editor it makes using subclassed
> container controls in a UI VERY difficult.
> 
> RB06R3 Mac OSX 10.4.7   Dual 2.3 mHz PPC G5  2.5GB RAM
> 
> 
> 
> - Karen
> 
> 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

Cool Runnings,
Erne.
-- 

/ |\ |\  | /
­ |/ | \ | ­
\ |\ |  \| \


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to