Changing color of text in a button
[1/2] from: varnoux::atmel::fr at: 14-Oct-2003 11:54
Hi List, I am writing a VID app where I have a few buttons. I would like to change the color of one of them, but if I do so, the others also change. I tried to do the following : myfunc: func [arg][arg/colors: reduce [red blue] show arg] view layout [ "button1" [myfunc face] "button2" [myfunc face] ] This worked, but _all_ my buttons text colors are changed... Vincent
[2/2] from: andrew:martin:colenso:school at: 24-Dec-2003 22:40
> I tried to do the following : > myfunc: func [arg][arg/colors: reduce [red blue] show arg]
<<quoted lines omitted: 3>>> ] > This worked, but _all_ my buttons text colors are changed...
I tried something similar, but couldn't get the buttons to change colours.
>> myfunc: func [arg][arg/colors: reduce [red blue] show arg print 123] >> view layout [
[ button "button1" [myfunc face] [ button "button2" [myfunc face] [ ] Andrew J Martin Attendance Officer & Grail Jedi & View padawan... Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 http://colenso.net/scripts/Wiki.r?AJM http://www.colenso.school.nz/ DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally liable) for materials distributed to or acquired from user e-mail accounts. You can report any misuse of an e-mail account to our ICT Manager and the complaint will be investigated. (Misuse can come in many forms, but can be viewed as any material sent/received that indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate language and/or other issues described in our Acceptable Use Policy.) All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0 Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted