Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 17-01-2007, 09:55 AM   #1
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default scrollField

Has anyone ever used the scrollField command?

Trying to figure it out with the docs, with limited success. It seems to ignore my width and height settings so I cannot view the whole list. Here is my simple testing script.

string $A = "Item_A\n";
string $B = "Item_B\n";
string $C = "Item_C\n";
string $D = "Item_D\n";

string $list;
$list += $A;
$list += $B;
$list += $C;
$list += $D;

if (`window -q -exists qwe`) deleteUI qwe;
window -menuBar true -mxb true -mnb true -title Title -w 260 -h 200 qwe;

rowColumnLayout -numberOfRows 4 ;

text -label "Title" -align "center" -fn boldLabelFont;
text -label "-----------------------------------------------------------------------------------" -align "center";
rowColumnLayout -numberOfRows 1 -rh 1 200;
scrollField -w 500 -h 200 -wordWrap false -nl 15 -text $list -editable false shdrLists;

showWindow qwe;


All help is appreciated.
Thanks,
-dann

Last edited by Dann : 17-01-2007 at 10:11 AM.
Dann is offline   Reply With Quote
Old 17-01-2007, 04:51 PM   #2
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

got it working. nevermind.
Dann is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.