FormLayout MelScript Problem

Become a member of the CGSociety

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

Thread Tools Search this Thread Display Modes
  12 December 2017
FormLayout MelScript Problem

I want to create similar column on left side that is on right side with three buttons. Following is my code. Kindly correct my code. I am new to mel. Help...

string $window = `window`;
string $form = `formLayout -numberOfDivisions 100`;
string $b1 = `button -label "name"`;
string $column = `columnLayout -adjustableColumn true`;
button; button; button;
formLayout -edit
-attachForm $b1 "top" 5
-attachForm $b1 "left" 5
-attachControl $b1 "right" 5 $column

-attachForm $column "top" 5
-attachForm $column "right" 5
showWindow $window;
  12 December 2017
Do you want to learn mel, or do you want us to write your code?
__________________ -
  12 December 2017
Please Write the Code
reply 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
Society of Digital Artists

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

All times are GMT. The time now is 03:00 AM.

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