Truncating text with vGrid property

Jon Seymour jonseymour at
Fri Mar 3 13:56:45 EST 2006

The Rev documentation states that

If the  vgrid property is true, Revolution draws a vertical line at  
each tab stop position in the field. The lines are drawn in the  
field's borderColor. This property is useful for fields that are used  
like a spreadsheet, with each tab stop marking a column.

Any text in a column is truncated when it reaches the right edge of  
the column. To show the entire contents of the column, drag over the  
text to select it. If text at the end of a line does not have a tab  
following it--that is, if it's the last column in the field--it is  
not truncated.

If the field's tabStops property is set to empty, the vgrid lines are  
drawn every 32 pixels, but the text is not truncated to individual  

However, despite having tabstops set, vGrid set to true, and seeing  
the actual vertical lines drawn just fine, I observe a different  
behavior with the text on both Mac OSX and Win32 platforms.  
Specifically, the text is NOT truncated, but simply continues to be  
rendered in addition to (overalpping) the text in the adjacent  
columns, creating an extremely messy presentation. Does anyone have  
any thoughts on how to produce the documented behavior?



More information about the Use-livecode mailing list