Page 1 of 1

Lots of Scrolling Text Fields

Posted: Fri May 06, 2016 6:20 pm
by RossG
My programme now has 24 scrolling text fields (and counting)
which appear as necessary but the problem is getting the
visible field to close so that another can be opened.

Is it possible to have a "Close" button in these fields
or is there some other object more suitable for this?

Generally I have it to set the "visible" of all of them
to "false" when another one is to be opened but due
to space limitation not always possible.

BTW after spending some time trying to get all these
fields operating correctly I discovered the joys of
"repeat for each item..." so now they're deleted when
the prog. is closed and cloned afresh from one named
as a template when it's started.

Now if I want to mod them I only have to do it once!

Is there no limit to the joys of LC

Re: Lots of Scrolling Text Fields

Posted: Fri May 06, 2016 8:20 pm
by dunbarx
Hi.

Sometimes when you run up against things like this it is time to ask the question: "Am I going down the wrong path?"

That might lead you to think of the possibility of having a single scrolling field, and populate it with 24 different data sets, stored perhaps in a custom property.

Or not.

Currently, is there only one field showing? And when you "close" that field, how do you do that? You should be able to script a hiding gadget based on some action you take. In other words, what might do instead of having those fields have close boxes? You can do that, of course, if you make custom grouped objects.

Craig Newman

Re: Lots of Scrolling Text Fields

Posted: Fri May 06, 2016 9:53 pm
by RossG
dunbarx wrote:Hi.

Sometimes when you run up against things like this it is time to ask the question: "Am I going down the wrong path?"

That might lead you to think of the possibility of having a single scrolling field, and populate it with 24 different data sets, stored perhaps in a custom property.

Or not.

Currently, is there only one field showing? And when you "close" that field, how do you do that? You should be able to script a hiding gadget based on some action you take. In other words, what might do instead of having those fields have close boxes? You can do that, of course, if you make custom grouped objects.

Craig Newman
"Am I going down the wrong path?"
A question I've asked myself a few times.

Only one field shows at a time and I've got a button which
sets visible to "false".

Solution 1: Add a line with item 1 = XXX say and when
clicked on sets visible.

Solution 1: Put the scrolling fields in a separate stack
(is that the right word? Never use them.) Then it would
(I presume) have a close button on the top bar.

Anyway it's not big problem but just for completeness.