Notifications
Clear all
[Closed] Dynamic label text
Sep 16, 2014 9:09 am
Hey there!!
i got a litte question regarding maxscript.
i`m trying to change the text of a label. i found a lot of results with google
but none of them works…
everywhere they tell to create a label:
-> label lbl_A “text”
and then “just” change the text by:
-> lbl_A.text = “new text”
but i always get “unknown property: “text” in undefined!?
anyone knows why?
greetings
1 Reply
Sep 16, 2014 9:09 am
I’m guessing you are trying to change the text outside the scope of a rollout? because…
rollout test "" width:162 height:62
(
label lblPsy "Hup,Hup,Hup,Hup,Hup....." pos:[5,4] width:153 height:16
button btnHup "Complete Line" pos:[5,26] width:152 height:29
on btnHup pressed do
(
lblPsy.text = "GANGNAM STYLE"
)
)
createdialog test