setTextResource

sets the content text of the form using string resource.