in reply to Tk-messageBox -padx

G'day kean,

I have no idea what you mean by "I put 5 or more blanks in front of each row". Tk::messageBox doesn't deal with rows. You've failed to post your code that presumably does use rows in some way.

I have no idea what you mean by "$pad1 -> padx option". Tk::messageBox documentation makes no mention of $pad1 nor does it have a padx option. You've failed to post your code that presumably does use those in some way.

Please read How do I post a question effectively? paying particular attention to what it says about posting your code.

Tk::messageBox provides a quick-and-dirty way to pop-up a message window and get a user response. It has no bells and whistles; it doesn't return a widget you can programmatically interact with. All it provides is six pre-defined sets of buttons, four icons (assuming you want platform independence), and options (each taking a single string) to specify a title, a message and a default button: that's it!

If you want to customise your message windows, you'll need to use something like Tk::Dialog or Tk::DialogBox. With either of those, look at their ADVERTISED WIDGETS sections to see the parts of the widget you can access and configure with your preferences. See Tk::mega - Subwidget for information on how to get such access.

-- Ken