Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find dynamically the displayable area of a field during runtime

Status
Not open for further replies.

CantFindAName

Programmer
Apr 23, 2003
3
FR
I have a field cast member on the stage that I use to display a history list of the words the user has consulted in a glossary.
The 'history' is extracted from a linear list, parsed and injected into the cast member.

When the list gets too long the words pass out of the displayable area of my field.

I started by limiting the amount of words to be displayed at any time but I don't like this solution because it's a bit 'DIY' and functions independently from the amount of syllables I have in the words e.g. 10xDog or Hat is not the same as 10xAustralia or 10xPhysiologically.

I would like to calculate or retrieve the amount of displayable characters in my field dynamically during runtime and compare this with the length of my list and inject into it a movable range of my list without chopping off any words.

If anyone has a solution I would really welcome it!

Stu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top