<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>We are creating an eBook reader program and are having some difficulties with our GUI. In particular, we would like the area which displays the text to look like a book with two text% objects corresponding to the right and left pages. We have created these two objects; however we are unable to fill them appropriately. We need to feed text into the left text% object until the snips are no longer visible. At that point, we need to start filling the right text% object. Then, once the user has read these two columns, they need to be able to "turn the page" and repeat the fill processes with the next "two pages" of text. We have tried breaking our single string of text into list objects representing a "page," but because we are using a proportional
font, the number of characters per "page" is inconsistent and we have no good way of generating these list objects. We also considered making each word or newline into a structure, carrying a field corresponding to the word's index in the complete text. However, we ran into issues when trying to put these into the text% object. Specifically, we couldn't figure out how to tell whether or not the word was visible. We tried to use the (get-visible-position-range) function, but it
doesn't actually return an integer value that can be compared to the
current position. We are looking for any advice with our approach to this problem. Thank you in advance for your help.<br><br>Leslie Gerhat<br></div></div><br>
<hr size=1>Be a better sports nut! Let your teams follow you
with Yahoo Mobile. <a href="http://us.rd.yahoo.com/evt=51731/*http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
">Try it now.</a></body></html>