read-only DirectEntry

Is there a way to make a DirectEntry read-only? I will control its setting with a slider (have that working already), but don’t want anyone typing in it.

Thx!

Well, how about using OnScreenText? Or a DirectLabel? If you don’t want anyone typing in it, but you still want to control it.

Is there a way to programmatically change the value of a directlabel?

I’m not sure if this works with DirectLabel, but for DirectButtons, I use

(name of directbutton)['text'] = ""

Will check it out, but I guess I could also do a button instead. thx