CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 06-17-2003, 06:19 PM   #1
loked
Pretender
 
loked's Avatar
Judd Simantov
Character TD
Naughty Dog
Santa Monica, US
 
Join Date: Dec 2002
Posts: 509
iconTextCheckBox problem

Hi,

I'm using an iconTextCheckBox and I have an image on the button. I would like the image to change to another image when it is pressed down. Does anybody know how I would do this??

Thanks
loked
 
Old 06-18-2003, 08:36 AM   #2
dwalden74
Google E. Bear
 
dwalden74's Avatar
David Walden
Rigging, scripting.
NY, USA
 
Join Date: Feb 2002
Posts: 818
The only thing that comes to mind would be putting a command to change the image in that control when you press the button or check the box or whatever...


David
 
Old 06-18-2003, 01:17 PM   #3
alexx
Yes, I Listen...
 
alexx's Avatar
Technical Director / 3D Artist
 
Join Date: Feb 2002
Posts: 2,202
yeah.. david is right..

check in the manuals:
-onc/onCommand string
Command executed when the control is turned on.
-ofc/offCommand string
Command executed when the control is turned off.
-cc/changeCommand string
Command executed when the control's state is changed.


use any of these to edit the icon

cheers

alexx
 
Old 06-18-2003, 01:32 PM   #4
loked
Pretender
 
loked's Avatar
Judd Simantov
Character TD
Naughty Dog
Santa Monica, US
 
Join Date: Dec 2002
Posts: 509
Hey Guys,

I managed to get it. Thanks for all the help!!
My problem was really just how to structure it in under the -cc.

Thanks again.

Later
loked
 
Old 01-15-2006, 11:00 AM   #5
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:06 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.