Can I control the width of tk_messageBox?

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 \ "...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-23-2006
Hans
 
Posts: n/a
Default Can I control the width of tk_messageBox?

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

Reply With Quote
  #2 (permalink)  
Old 05-24-2006
Kimmo Laine
 
Posts: n/a
Default Re: Can I control the width of tk_messageBox?

"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)


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:30 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0