From: | Christian Hattemer |
Date: | 02 Aug 99 at 23:25:29 |
Subject: | Re: Bad MUIBuilder Code ? TRUE : FALSE |
From: Christian Hattemer <Chris@heaven.riednet.wh.tu-darmstadt.de>
On 09-Jul-99 David Arbuthnot wrote:
> But as you can clearly see grp_btns is first declared as being a
> VirtgroupObject
> and then directly below it is re-declared as being a scrollgroupObject
> with MUIA_Scrollgroup_contents as it's self. Is this a bug or am i going
> insane ???
This is fully Ok.
The scrollbars and the object which is scrolled are two different objects.
First you create the object to be scrolled (the Virtgroup in this case) and
then put the scrollbars "around" it.
It's no problem that grp_btns is overwritten when you create the scrollbars
because you can talk to them if it was the Virtgroup object directly,
everything will be forwarded.
BTW: MUIBuilder creates awful code...
Bye, Chris
I am Einstein of Borg. Assimilation is relative.