If you mean a textbox in kixforms then it is easy.

The textbox has a .text property so you can just do this:
 Code:
$text = $textbox1.text
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.