Making non-scrolling text field scrolling

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
exheusden
Posts: 170
Joined: Fri Oct 09, 2009 5:03 pm
Contact:

Making non-scrolling text field scrolling

Post by exheusden » Sat Oct 10, 2009 3:27 pm

Is it possible to change a non-scrolling text field, which is part of a group, into a scrolling field (thereby changing it on all cards that contain the group), without losing any data?

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4171
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Sat Oct 10, 2009 3:51 pm

Hi exheusden,

I just tried it with a small sample stack with a field in a group whose background behavior was true and three cards:

Code: Select all

set the vscrollbar of field "myFieldName" to true
and it worked.
No data loss. You might want to try this on a copy of your original stack, just to be shure.
regards
Bernd

exheusden
Posts: 170
Joined: Fri Oct 09, 2009 5:03 pm
Contact:

Post by exheusden » Sat Oct 10, 2009 6:34 pm

Bernd,

Many thanks indeed for your quick reply (vielen dank). Works perfectly.

I'm just trying RevMedia out. Used HyperCard from the time it came out until is was no longer supported under MacOS X (didn't want to bother with the Classic environment) and the moved to SuperCard, but have never felt happy with it. So far, Revolution looks very good.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4171
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Sat Oct 10, 2009 7:32 pm

exheusden,
me too, I come from Hyercard to Rev. When it was time to change (classic no longer supported etc) I looked around and was not shure, but then I found some familiar names from the Hypercard days (Frederic Rinaldi, Jacques Landman-Gay and others) that all spoke out in favor of Rev. So when Rev was supporting showing objects on top of a movie player (is important for me) I went with Rev. Did not regret it, although I changed my coding habits a bit. Using arrays is actually fun once you get the idea. I like the graphic effects that were introduced in 3.5 and now 4.0. Rev for many things is very very fast, and then for others like find in a stack with many cards not so. I had to get used to the option of substacks (very useful, but coming from Hypercard a thing to get used to). The fact that not two stacks with the same name can be open at any given time still gets me when developing different versions of stacks. Menues are still a bit confusing for me, shuffling around the card and doing weired things in the menubuilder, but if I really have to I get them to work. Than once in a while you find a rough edge in Rev, but usually one can work around them.
And with the advent of the free 4.0 RevMedia alpha Rev is hard to beat with regards to price. Especially if you still use stacks in the RevMedia environment and dont need Standalones it will fit your bill (I use RevStudio).
And if you want to put your stacks online the revlets are phanatastic.

If you play around with Rev you will find it not only a substitute for Hypercard but a way to do things that Hypercard just couldn't.
And than there is this Forum which usually is very helpful.

regards
Bernd

exheusden
Posts: 170
Joined: Fri Oct 09, 2009 5:03 pm
Contact:

Post by exheusden » Wed Oct 14, 2009 2:50 pm

Thank you, Bernd.

Instead of continuing with the jumble that the test stack had become, I started afresh and now all's okay.

Post Reply