Hi,

Sorry to bother you again *sheepish*

1 - Is it possible to have a UI element adjust its positioning within the
space it is allocated? For example, if a checkbox is allocated more space
than it needs is it possible to specify it should be centered inside the
space?

2 - Is it possible to create an <editor> that can only enter numbers or
that can only enter a certain size of input?

3 - I have been trying to create a drop-down choice box. So far I have this:

:: show-drop-menu ( button assoc quot -- ) vertical <track>
    [ button swap [ first ] [ second ] bi quot curry <roll-button> f
track-add ] assoc each show-menu ; inline

: <drop-button> ( value assoc quot -- gadget )
    [ drop at* drop ] 2keep '[ _ _ show-drop-menu ] <roll-button> ;

However when the object is clicked on I get a nonsensical error message
about "cannot load value into slot" which makes no sense since I'm not
doing that anywhere in that code. Can anyone tell me what's wrong?
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to