Got it, I think. <http://py77.python.pastebin.com/f61a3c84f> The crucial lines are 22, 27. Thanks all, Dick ================================ UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/