PDA

View Full Version : open frameLayout upon click


Eshta
08-19-2008, 02:10 AM
Hello again,
I'm tryign to do somethign like the transfer map window
I tried looking into that mel, but its way complicated for me

window;
/*
string $openFirst;
$openFirst = `frameLayout -label "First" -collapse false`;
string $openSecond;
$openSecond = `frameLayout -label "Second" -collapse false`;
string $openThird;
$openSecond = `frameLayout -label "Third" -collapse false`;
*/

columnLayout -adjustableColumn true;
gridLayout -numberOfColumns 3 -cellWidth 36 -cellHeight 36;
iconTextButton -style "iconOnly" -image1 "sphere.xpm" -command "openFirst";
iconTextButton -style "iconOnly" -image1 "cone.xpm" -command "openSecond";
iconTextButton -style "iconOnly" -image1 "cube.xpm" -command "openThird";
setParent ..;

frameLayout -label "First" -labelAlign "top" -collapsable true -collapse true;
columnLayout;
button; button; button;
setParent ..;
setParent ..;
frameLayout -label "Second" -labelAlign "center" -collapsable true -collapse true;;
columnLayout;
intSlider; intSlider; intSlider;
setParent ..;
setParent ..;
frameLayout -label "Third" -labelAlign "center" -collapsable true -collapse true;;
columnLayout;
intField; intField; intField;
setParent ..;
setParent ..;

showWindow;


my objective > frameLayout is closed and disabled
upon click > it will open and become avilabe for the user

thanks

CGTalk Moderation
08-19-2008, 02:10 AM
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.