By the way, you might find "describe" useful:

"Foo" <label> <scroller> dup describe


On Wed, Dec 19, 2012 at 9:19 AM, John Benediktsson <mrj...@gmail.com> wrote:

> The scroller uses a "viewport" slot to hold the children gadgets, I
> believe:
>
> "Foo" <label> <scroller> dup gadget.
> dup viewport>> "Bar" <label> 1vector >>children drop
>
>
> On Wed, Dec 19, 2012 at 9:10 AM, Samuel Proulx <proulxsam...@gmail.com>wrote:
>
>> It worked fine with borders, so I thought it would be the same with
>> scrollers. I tried the same thing you proposed me for the borders with the
>> scrollers. It doesn't work. What do I do if I want to change the gadget
>> slot of a scroller ( \ <scroller> help ) ?
>>
>>
>> 2012/12/19 Samuel Proulx <proulxsam...@gmail.com>
>>
>>> I see! Thank you guys!
>>>
>>>
>>> 2012/12/19 PGGB <grizzlysc...@gmail.com>
>>>
>>>> If you inspect the border on the stack you will notice, that the slot
>>>> you are trying to change is actually called "children", which is a vector
>>>> that contains the label.
>>>>
>>>> So this would work:
>>>>
>>>> "Test" <label> { 5 5 } <border> dup gadget.
>>>> "Worked" <label> 1vector >>children
>>>>
>>>> On 19.12.2012, at 17:14, Samuel Proulx <proulxsam...@gmail.com> wrote:
>>>>
>>>> > Hi,
>>>> >
>>>> > I tried to change the child of a border. Judging by the help ( \
>>>> <border> help ), I only need to change the "child" slot. So I tried this:
>>>> >
>>>> > "Test" <label> { 5 5 } <border> dup gadget.
>>>> > "Worked" <label> >>child
>>>> >
>>>> > Error : Generic word child<< does not define a method for the border
>>>> class.
>>>> >
>>>> > What does that mean? What did I do wrong?
>>>> >
>>>> > Thanks in advance,
>>>> > Samuel
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>> > Remotely access PCs and mobile devices and provide instant support
>>>> > Improve your efficiency, and focus on delivering more value-add
>>>> services
>>>> > Discover what IT Professionals Know. Rescue delivers
>>>> >
>>>> http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
>>>> > Factor-talk mailing list
>>>> > Factor-talk@lists.sourceforge.net
>>>> > https://lists.sourceforge.net/lists/listinfo/factor-talk
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>> Remotely access PCs and mobile devices and provide instant support
>>>> Improve your efficiency, and focus on delivering more value-add services
>>>> Discover what IT Professionals Know. Rescue delivers
>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>> _______________________________________________
>>>> Factor-talk mailing list
>>>> Factor-talk@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>>>
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>>
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to