For a TextCtrl you can use setSerlection. >From the wxwidgets doc:
virtual void wxTextEntry::SetSelection (long from, long to) Selects the text starting at the first position up to (but not including) the character at the last position. If both parameters are equal to -1 all text in the control is selected. best -- erik colson