get_selectedText()
Returns the text label of the selected value of the widget.
Example-Status Fetch Selected Text
tpc.forms[0].TpcStatus.get_selectedText();
set_selectedText()
Sets the value of the widget by its text label.
Example-Status Set Selected Text
tpc.forms[0].TpcStatus.set_selectedText("Active");
tpc.forms[0].TpcStatus.set_selectedText("Inactive");