|
Hi there,
I have a small script which does something with all polygons.
I integrated a progressbar showing the how much of the polys are performed.
This works well.
I also want to show the user a text such as “Poly 7 of 1200 progressed”. I tried this with a edittext but it is not updated until the process is done.
So while progressing it shows nothing. When it is done there is written “Poly 1200 of 1200 progressed”.
Any tips how I get this updated?
Regards Matthias
----
C2Q 9650, 8GB Ram
3dsmax 8, 2009, 2010 and 2011
|
|
|
|
Try a Label instead of an Edittext.
Also, please put your Max version (and brief system specs) in your signature - it saves us having to ask every time.
If this isn’t what you want, you’ll have to give us a bit more information.
( local test
rollout test "test"
(
label Label01 "Press the button!" style_sunkenedge:true width:156 height:16
button btnSelect "Do It!"
on btnSelect pressed do
(
for i = 1 to 50000 do
Label01.caption = "Poly " + i as string + " of 50000 processed"
)
)
try (destroyDialog test) catch() CreateDialog test )
Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.
|
|
|
|
Works perfect. My signature is edited.
Regards Matthias
----
C2Q 9650, 8GB Ram
3dsmax 8, 2009, 2010 and 2011
|
|
|