View choice button
[1/4] from: gschwarz::netconnect::com::au at: 4-Jul-2001 12:13
When you use the code..
choice "Jan" "Feb" "Mar"....."Dec"
The window length is not long enough to show all the months. Is there a size setting
to make it longer?
Regards,
Greg Schwarz
------------------------------------
If you find that life spits on you
calm down and pretend it's raining :-)
[2/4] from: larry:ecotope at: 3-Jul-2001 20:09
Hi Greg,
The problem is that the parent window of the choice face is too small in the
vertical direction. Try something like
>> view layout [size 140x300 choice "jan" "feb" "mar" "apr" "may" "jun"
jul
"aug" "sep" "oct" "nov" "dec"]
This sets the main window size large enough, in your case you need to adjust
the size of whatever face is the parent for choice.
-Larry
[3/4] from: chris:ross-gill at: 3-Jul-2001 23:41
Hi Greg,
> When you use the code..
>
> choice "Jan" "Feb" "Mar"....."Dec"
>
> The window length is not long enough to show all the months. Is there
> a size setting to make it longer?
Though it may not be as intuitive with a large number of options, you
could use a 'rotary instead of a 'choice.
- Chris
[4/4] from: arolls:bigpond:au at: 4-Jul-2001 22:21
Or try this:
view layout [
button "choose" [
choose ["a" "b" "c"] func [f v][print f/text]
]
]