• Need help with :AddControl
    0 replies, posted
Okey, How can i get the value from the TextBox to the Button's Command ? TextBox.GetValue() didnt work [lua]function Kamera(Panel) Panel:ClearControls() Panel:AddControl("Button", {Text = "Start Recording", Command = "record", TextBox.GetValue()}) Panel:AddControl("TextBox", {Label = "Record name:", MaxLength = 40, Text = "Record Name"}) Panel:AddControl("Button", {Text = "Stop Recording", Command = "stop"}) end[/lua] Please help me !
Sorry, you need to Log In to post a reply to this thread.