Hi Dave,
No, I didn't get any response to my request. However, I did find a reference
to the problem in the Whitener 'MapBasic Developer's Guide' which under 'TIP
for Browser' states ther is no Mapbasic statement that controls the width of
browser columns. It goes on further to explain how to trick it into making
wider columns but gives no help in making them narrower, which was my
problem. I solved my problem by being more careful in how I described the
colum type attribute. I used the "Add Column" command, where a value is
involved by default it appears to use a 'Large Integer' format. As most of my
columns were either single digit or three digit numbers - that meant a lot of
'white space'. So I defined the data type in the "Add Column" statement to be
decimal (1 digit, 0 decimal places or 3 digits, 0 decimal places) I had no
rounding issues to deal with. This worked well - infact the column width
matched the data. In fact the limiting factor became the coulmn title. Every
thing displayed okay - bu on printing the layout, I found the text did not
always fit. I overcame this by just increasing either the title by adding a "
" or two (particularly in date columns) or the decimal to 4 digits.
The most painful aspect of this is the fact you can't trust what you see on
the screen. In my browser frame on the layout the width of the frame only
displays two columns - but when I send it to the printer four columns are
printed! Hmmm WYSIWYG????. It means a lot of draft prints to get the right
output!!!
I trust this helps you
Regards,
Martyn
Dave Walters wrote:
> Hi, I haven't seen any response on the List about this. Did you get any
> private responses. I would like to do the same thing and haven't figured it
> out.
>
> Dave Walters
>
> ----- Original Message -----
> From: Martyn Shedd <[EMAIL PROTECTED]>
> To: MapInfo Open Listing <[EMAIL PROTECTED]>
> Sent: Monday, May 17, 1999 8:56 PM
> Subject: MI Column Width in a Layout Frame
>
> > Hi,
> >
> > In building a layout via MBX, I wish to include a browser frame.
> > However, I'd like to control the column widths as displayed in the
> > frame. How do I go about this?
> >
> > Thanks in advance.
> >
> > Regards,
> > Martyn
> >
> > ----------------------------------------------------------------------
> > To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> > "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
> >
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]