If you look at a label:

    IN: scratchpad \ label help

You'll see that it has a "text" slot.  Changing it will change the text it
displays:

    IN: scratchpad "hello, world" <label> dup gadget.

    IN: scratchpad "goodbye, world" >>text

See that the text changes in the display?

Thanks,
John.


On Sat, Dec 15, 2012 at 1:06 PM, Samuel Proulx <proulxsam...@gmail.com>wrote:

> Hi,
>
> I've tried to do it for quite a while, but I still can't figure it out. I
> would like to make a label for a UI which I can change the text on. For
> example, when you click on a button to change the page, the title would
> change for the one of that new page.
>
> I've thought about making a tuple that inherits from the label class with
> a change-text method. Would that work? How should I do it?
>
> 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

Reply via email to