Anybody? Hard part was creating a messenger system, so I am hoping this is simple.
1. add the "new" text to the top?
2. make related rows and sort?
Thanks for the idea. I am trying to avoid adding new text to the top, as it is a stream of conversation much like a messenger. I also have a bot that answers questions and performs various tasks, so I want it to flow top to bottom.
1 of 1 people found this helpful
OK, perhaps a calculated field:
RightValues ( myText ; 1 )
to show only the last line each time.
While calculated and not changeable, it is "at-a-glance".
You can even have a field with 3 "lines":
RightValues ( myText ; 3 )
Field object sizing falls into two states, active and inactive.
When inactive, the field boundaries are "hard" and the "at rest" state is placed back at the top of the field contents.
When "active", you have either scrolling content (if you select "display scrollbar for field"), or the field will expand to show the "overflow" content.
You can not change those two behaviors while using the filemaker field object. To use alternate behavior, you would need an alternate object, like a portal or web viewer.
One thing to think about though here is your data. You're adding multiple unique messages into a single field's contents, this is denormalized data. You should have a record for each message displayed as related data so that you can have more control over the display.
If I was doing similar, I would be doing a portal display, with the most recent message at the top. Or maybe showing the most recent message, with a click through to a list view that then shows chronologically. In a list view of records, you'd be able to control window scrolling by triggering a scroll to the end of the list. So yeah, greater control since it's a list view and not a list of records in a single field. You can programmatically scroll a portal to show the end of it using:
Go To Object [ portalname ]
Go To Portal Row [ last ]
Thanks for expanding on my 2nd suggestion, Mike! Great presentation at DevCon.
Thanks, you guys are great.