This is a discussion on Can I control the width of tk_messageBox? within the PHP Language forums, part of the PHP Programming Forums category; Hi, I have below tk_messagecode: tk_messageBox -icon info -type ok -title "About Test Item " -parent $w -message \ "...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi, I have below tk_messagecode:
tk_messageBox -icon info -type ok -title "About Test Item " -parent $w -message \ "predddddddddddddddddddddddddddddddddddddddddddddd ddddddddddddddddddddddddddddddddddddddddddddddd_te st" When I run it it always was displayed in multiple lines. It seems the width of the message box cannot be controled. Can I control it to use my prefer width and don't get carriage return automatically? Thanks in advance. Hans Yin |
|
|||
|
"Hans" <hansyin@gmail.com> wrote in message
news:1148424868.742104.9760@y43g2000cwc.googlegrou ps.com... > Hi, I have below tk_messagecode: > tk_messageBox -icon info -type ok -title "About Test Item " > -parent $w -message \ > "predddddddddddddddddddddddddddddddddddddddddddddd ddddddddddddddddddddddddddddddddddddddddddddddd_te st" > > When I run it it always was displayed in multiple lines. It seems the > width of the message box cannot be controled. > Can I control it to use my prefer width and don't get carriage return > automatically? This is a php newsgroup, not Tcl/Tk. I suggest you ask this in an appropriate newsgroup, comp.lang.tcl for example. HTH. -- "ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg) |
![]() |
| Thread Tools | |
| Display Modes | |
|
|