Hi Kerry
I just tested this handler in D8 to create a html table on the fly with it
showing the update on the screen immediately:
on mCreateTable param2DListOfValues
vHtmlTable = "<html><body><table>"
vCount = param2DListOfValues.count
repeat with i = 1 to vCount
vHtmlTable = vHTMLTable & "<tr>"
vCount2 = param2DListOfValues[i].count
repeat with j = 1 to vCount2
vHtmlTable = vHtmlTable & "<td>" & param2DListofValues[i][j] & "</td>"
end repeat
vHtmlTable = vHTMLTable & "</tr>"
end repeat
vHtmlTable = vHtmlTable & "</table></body></html>"
member("HTMLMember").html = vHTMLTable
end mCreateTable
the list I used for testing was
vList = [["mark", "kerry", "tom", "joe"],["jim", "irv", "james",
"john"],["bob", "rob", "chris", "bill"]]
then ran it from the message window
mCreateTable vList
Of course I should say that I had a text member called "HTMLMember" in the
cast already.
It barely took a split second to create.
But that doesn't answer your question about why the text member didn't
refresh. Perhaps time for a reboot ????
Sincerely
Mark
--------------------------------------------
Mark R. Jonkman
Mark R. Jonkman Consulting
ADDRESS: 20 Windermere Crt., Guelph, ON, CANADA N1E 3L4
PHONE: 519-837-8509
EMAIL: [EMAIL PROTECTED]
--------------------------------------------
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Kerry Thompson
> Sent: September 7, 2000 9:19 PM
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> Sprite Display
>
>
> Ok, I got the tabs to work. But the sprite isn't showing up until I stop
> the movie.
>
> Here's the code:
>
> on showPool me
> member("Answer Pool").tabs = [[#position: 19], [#position: 144],
> [#position: 269], [#position: 394]]
> lAnswerPool = gPoolList[gWhichPuzzle]
> lPoolMember = member("Answer Pool")
> lPoolMember.text = " "
> repeat with i = 1 to lAnswerPool.count
> if i mod 4 = 0 then put RETURN after lPoolMember
> put TAB after lPoolMember
> put lAnswerPool[i] after lPoolMember
> end repeat
> updateStage
> end showPool
>
> When I stop the movie, all the words show up in the right places. I'm
> watching the stage and the cast member--I switch focus to the cast member
> during debugging--and nothing shows up in the cast member or, of
> course, on
> stage until I stop the movie.
>
> Is there some command like refreshCastMember or something?
>
>
> Cordially,
> Kerry Thompson
> Learning Network
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]