I can confirm this by following your steps (also in OS X 10.4.7).
Furthermore, dragging an instance of Class1 onto the window results in
an object with a single selection handle in the window, such that at
first I didn't think the drag into the window had worked. So I ended
with several instances of the container control, which I was able to
figuring out after running the project. A lot of careful clicking and
dragging allowed me to resize a single-selection-handle instance out
to the correct size on screen (which still disappears when you click
off of it).

On 7/27/06, Karen <[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
_______________________________________________
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