HELP with :AddControl tool menu

Okey, I want the value from the textbox to get behind the record command if you understand :S

But this dosent 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]

any ideas ?!?