get proc name from ui by TextCtrl