internal void SetControlText (string s, bool suppressTextChanged, bool supressAutoScroll) { if (suppressTextChanged) process_textchanged_event = false; if (supressAutoScroll) process_texchanged_autoscroll = false; textbox_ctrl.StringValue = s; //textbox_ctrl.SelectAll (); process_textchanged_event = true; process_texchanged_autoscroll = true; }