buttons won't press down.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  05 May 2006
buttons won't press down.

hi, I'm making a gui and part of it is defunc.

3 of the 4 buttons on the LowerLip side can't be pressed. I thought it might have something to do with the way I did the row layout. Any ideas? This is the part that doesn't work:


if (`window -q -ex DeweyFaceWindow1`) deleteUI DeweyFaceWindow1;

window -title "DeweyGUI" -w 80 -h 960 DeweyFaceWindow1;

columnLayout -cw 120 Nudge;

text "Nudge";

text " UpperLip LowerLip" ;

rowLayout -numberOfColumns 2 -cw2 60 60;

gridLayout -nrc 3 3 -cellWidthHeight 18 18 -bgc .9 .9 .7 NudgeButtonsTop;

button -label " " -enable 0 -vis 0;

button -label "^" -c "nudgeTopLipUpProc" -bgc .9 .9 .5;

button -label " " -enable 0 -vis 0;

button -label "<" -c "" -bgc .9 .9 .5;;

button -label " " -enable 0 -vis 0;

button -label ">" -c "" -bgc .9 .9 .5;;

button -label " " -enable 0 -vis 0;

button -label "v" -c "nudgeTopLipDOWNProc" -bgc .9 .9 .5;;

button -label " " -enable 0 -vis 0;

separator -style "in" -w 100;

setParent..;

gridLayout -nrc 3 3 -cellWidthHeight 18 18 -bgc .9 .9 .7 NudgeButtonsBottom;

button -label " " -enable 0 -vis 0;

button -label "^" -c "nudgeLowerLipUpProc" -bgc .9 .9 .5 -enable 1;

button -label " " -enable 0 -vis 0;

button -label "<" -c "" -bgc .9 .9 .5;

button -label " " -enable 0 -vis 0;

button -label ">" -c "" -bgc .9 .9 .5;

button -label " " -enable 0 -vis 0;

button -label "v" -c "nudgeLowerLipDOWNProc" -bgc .9 .9 .5;

button -label " " -enable 0 -vis 0;



setParent..;



setParent..;

//Show Main Window Command

showWindow DeweyFaceWindow1;

 
  05 May 2006
I think you should enable the buttons.

button -label " " -enable 1 -vis 0;

You have to have them enabled in order to interact with them.
 
  05 May 2006
Ignore the post... Need to read more before opening my mouth
__________________
Martin Andersson
- www.animation-hut.no
- http://www.thekove.com
 
  05 May 2006
you might also have an easier time creating this type of layout with a formLayout - creating a whole set of disabled, invisible buttons will eventually get pretty unmanageable.

-sunit
__________________
hydralab
machine film
 
  05 May 2006
I agre with sunit on this one.
Look into formLayout.
__________________
Martin Andersson
- www.animation-hut.no
- http://www.thekove.com
 
  05 May 2006
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 05:57 AM.


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