Here's another approach to the text overflow calculation:
function extraText f -- removes from fld f, and returns, the htmlText that
overflows size of fld f
repeat with c = 1 to length(fld f)
if the formattedHeight of char 1 to c of fld f > the height of fld f then
put the htmlText of char c to -1 of fld f into myHtml
delete char c to -1 of fld f
return myHtml
end if
end repeat
return empty
end extraText
David Epstein
> 4. Multicolumn Printing (Text Flow)? (Frank D. Engel, Jr.)
> My best guess is to create separate fields for the left and right
> columns and somehow figure out where to split the text so that I can
> fit the text neatly into the two columns. Does anyone know of an easy
> way to figure out where to split this?
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution