PDA

View Full Version : MEL-Problem - too long to describe here :.-)


M-J
08-07-2002, 05:42 PM
hey you MEL-freaks ;-),

i have a problem here which i hope can be solved with your help...i guess it's not so much a problem for you.

what i'm trying to do is put an array of objects
(with: string $something[] = `ls-whatever`) in a textScrollField. my problem is that with the -append command of the textScrollField i didn't find a way to cycle through this array and append every string in it :-((( maybe i'm doing something wrong or is this the totally wrong way of doing it??? i really have no clue...so any help is very very appreciated :-)

thanx guys

M-J

M-J
08-07-2002, 05:49 PM
err....it's called a textScrollList...but you knew that, hmm?

bigfatMELon
08-08-2002, 04:43 AM
Example. To fill a textScrollList with the current selection, do this:

string $sel[] = `ls -sl`;
string $x;

for ($x in $sel){
textScrollList -e -append $x myScrollListItem;
}

If you need some reference on using textScrollList, the skeletonMapper portion of my UltraPose script makes heavy use of them.

-jl

M-J
08-08-2002, 11:26 AM
thanx alot bfm...it really works! :-)

CGTalk Moderation
01-13-2006, 01:00 PM
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.