rebol/VIEW radio-buttons
[1/5] from: riusa:email:it at: 9-Apr-2002 9:10
Hi all,
I used in /view the radio-buttons (very useful).
I created a little list with a large font (vh3) but, the little buttons
(little circles) that the user can click are very small. How can I do
(if possible) to enlarge them? If it is not possible, can I substitute
the image of the radio-button with another image (I will draw a larger
button).
Thanks a lot!
bye!
--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f
Sponsor:
Gratis per te il software per inviare e ricevere SMS direttamente dal tuo
PC
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=278&d=9-4
[2/5] from: anton::lexicon::net at: 9-Apr-2002 19:43
Hello riusa,
> I used in /view the radio-buttons (very useful).
> I created a little list with a large font (vh3) but, the little buttons
> (little circles) that the user can click are very small. How can I do
> (if possible) to enlarge them? If it is not possible, can I substitute
> the image of the radio-button with another image (I will draw a larger
> button).
This works (at double the size):
view layout [r: radio 24x24 do [append r/effect [fit]]]
Now the question is why is the above necessary?
>> get in get-style 'radio 'init
== [effect: [key 200.200.200]]
Ah, you can see the init code is changing whatever
effect you set in the layout dialect. The init code
happens afterwards. So what I did above was change the
code after the radio is laid out and initialized, using
'do [...]
But you might appreciate this:
view layout [
style big-radio radio 24x24 with [
init: [effect: [key 200.200.200 fit]]
]
radio big-radio big-radio
]
All this is inspiring me to make a scalable radio style.
Something relatively easy to accomplish, I think.
Anton.
[3/5] from: info:id-net:ch at: 1-Apr-2002 10:06
hey..
i think you can type radio 30x30 and it will work.
But you got a better solution : it exists a "click-face" function that
someone wrote. With it, the user will could click on the text associated
with the radio and the radio will be check..
i think it's the original function
rebol []
click-face: func [face][face/feel/engage face 'down none]
; simple example
view layout [
chk: check text "click me" [click-face chk]
]
----- Original Message -----
From: <[riusa--email--it]>
To: <[rebol-list--rebol--com]>
Sent: Tuesday, April 09, 2002 9:10 AM
Subject: [REBOL] rebol/VIEW radio-buttons
Hi all,
I used in /view the radio-buttons (very useful).
I created a little list with a large font (vh3) but, the little buttons
(little circles) that the user can click are very small. How can I do
(if possible) to enlarge them? If it is not possible, can I substitute
the image of the radio-button with another image (I will draw a larger
button).
Thanks a lot!
bye!
--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f
Sponsor:
Gratis per te il software per inviare e ricevere SMS direttamente dal tuo
PC
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=278&d=9-4
[4/5] from: anton::lexicon::net at: 10-Apr-2002 11:34
Re: rebol/VIEW radio-buttons - zoom-radio style
You should try it yourself before making such
easy suggestions. :)
Anyway, last night I wrote a new style, that draws
a scalable radio button:
http://anton.idatam.com.au/rebol/gui/zoom-radio.r
Run the demo to see it in action:
http://anton.idatam.com.au/rebol/gui/demo-zoom-radio.r
Anton.
[5/5] from: riusa:email:it at: 10-Apr-2002 9:40
Wonderful! Just what I needed!
Maybe this new style could be added in standard rebol/view distribution!
thanks!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> You should try it yourself before making such
> easy suggestions. :)
<<quoted lines omitted: 34>>
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
++++++++++++++++++++++++++++++++++++++++++++
Alessandro Manotti
Presidente dell'Associazione "RIUSA"
Sito web: http://riusa.apritisesamo.net
email: [riusa--email--it]
mailing-list: [riusa-ml--yahoogroups--com]
Telefono: 347.63.43.231
--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f
Sponsor:
Cambia le casse del tuo Pc! Scegli i potentissimi speaker Hercules XPS510
Qualit=E0 elevata e costo contenuto!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=360&d=10-4
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted