Page 2 of 2

Re: List field size organizing

Posted: Tue Oct 22, 2013 7:52 pm
by appmann
Oki Klaus. It worked. I had a lot of problems before i find out that its Commas and NOT dots that seperate the locations :-)

Now i just have to play with it to get the right view.

But one more thing. I cant lock my field to the bottom.

I have tryed all setting in the inspector.

No matter what, when i resize during script, it sets the position to the same. but from the center.

That means both the effect and the fields and buttons showing, not looks great.

Am I missing something in the script? or does i have to rearrange the field during the lock screen?

Re: List field size organizing

Posted: Tue Oct 22, 2013 9:12 pm
by Klaus
Hi appman,

ah, yes, setting width or height of an object affect its location!

Do this:
...
lock screen for visual effect
put the topleft of fld "xyz" into tOldTopLeft
## Or do you mean "bottomright"?
## Take what you need: topleft ofr bottomright :D

set the height of fld "xyz" to 176
## Now reset top left or bottom right:
set the topleft of fld "xyz" to tOldTopLeft
...

Best

Klaus

Re: List field size organizing

Posted: Thu Oct 24, 2013 10:35 am
by appmann
Hi Klaus.

Again you was right. :-)

It worked very well with the bottomRight.

Now im almost finished with the code for the first card :-).

But i thing the code can be made easyer.

In visual Basic you can put a lot of code in the main script and neme it. Then you can call the script when you need it. (if needed more than one or two times.

It makes the code much more simple. I know its possible in LC too. How does this work. fx call ScrollingField of stack (or Card) [name]