Re: Formating for MleText ? (win32lib.ew)
- Posted by Derek Parnell <ddparnell at bigpond.com> Mar 17, 2001
- 377 views
------=_NextPart_000_005B_01C0AFCF.53B5FA60 charset="iso-8859-1" Hi Tim, use ... setText(myMle, sprintf("%d", 5)) This is automatically handled in the next version v0.56. If what is = supplied is not a sequence it will displaying as a number. This new = behaviour will possibly break programs that are displaying single = characters using atoms. Let me know if this will inconvienence anyone. The new version will handle stuff like... setText(myMle, 5) setText(myMle, 5.123) ------ Derek Parnell Melbourne, Australia "To finish a job quickly, go slower." ------=_NextPart_000_005B_01C0AFCF.53B5FA60 charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> sprintf("%d",=20 5))</STRONG></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>This is automatically handled in the = next version=20 v0.56. If what is supplied is not a sequence it will displaying as = a=20 number. This new behaviour will possibly break programs that are = displaying=20 single characters using atoms. Let me know if this will inconvienence=20 anyone.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>The new version will handle stuff=20 like...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><EM> setText(myMle, = 5)</EM></FONT></DIV> <DIV><FONT face=3DArial size=3D2><EM> setText(myMle, = 5.123)</EM></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV>------<BR>Derek Parnell<BR>Melbourne, Australia<BR>"To finish a job = quickly, go slower."<BR></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt = arial"> </DIV></BLOCKQUOTE> ------=_NextPart_000_005B_01C0AFCF.53B5FA60--