Matt Newell wrote: > If you subclass you can override QWidget.closeEvent, QWidget.hideEvent, or > the destructor. Thanks - I tried to override closeEvent but it never seems to get called. Is there some trick? This is for a QLineEdit. Jeremy -- http://www.jeremysanders.net/