Think of something that you wish Authorware could do but it doesn't?  Let the our good friends at Macromedia know via the wishlist.

Please let us know if you find any of the materials on this site inappropriate or offensive. Please include the url and why the material should be reviewed.

Comments and questions about the site are also welcome. Please no Authorware questions, use the AWARE list.

Back

B2004 - I would like to know the text on the line the user clicks. How?

by - Joseph Ganci


Is there anyway I can find out the string of text that the user had clicked? I need a similar function to "LastLineClicked" but instead of telling me which line, I want the text within that line.

This works best when the text you're showing is in a variable that you're showing on the screen, such as {text}. If that's the case, just use the expression

    linetext := GetLine(screentext, LastLineClicked)
The user variable linetext will contain the text of the line that was clicked.  This works only when your text is divided up into individual text lines.  This works best when you have a list of items, rather than a flowing paragraph.

There are 0 reviews
Add your review
Back