pass a reference to Text as function get textbox height argument