Hi, does anyone know why all the cr/lf characters are ignored by PyCEdit when used in a dialog ? There is no such problem with a static control though but I want to be able to select/copy text from the control. Here's my code snipet... folder = os.path.dirname(__file__) f = open(folder + '/' + 'help.txt','r') template.append(['EDIT', f.read(), self.IDC_EDIT_HELP, (10, 10, w-20, h-35), win32con.WS_CHILD | win32con.WS_VISIBLE | win32con.ES_LEFT | win32con.ES_MULTILINE | win32con.WS_BORDER |win32con.ES_AUTOVSCROLL]) f.close()
thanks -mab
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32