Page 1 of 1

field/scroll behaviour with visual effect.

Posted: Sun Feb 26, 2017 4:10 pm
by Jellobus
Hi All, :D

I like to make possible the field or data grid behaviour I am thinking.( in the Mobile environment)

1. there is a list of fields each containing images and texts with different font styles.
2. if you click the each line, the sub contents appears by stratching itself.(some visual effect can be used..)
3. and it can be hidden if the line is clicked again.

Condition:
1. It's in a mobile environment 2. there is a native scroller resizing itself automatically upon the field size changes.(the height of the field changes when it's stretching to show sub-contents.)

I attached drawing image. Please see and please let me tell any idea how to make this possible.

Thanks for your time!

Louis

Re: field/scroll behaviour with visual effect.

Posted: Sun Feb 26, 2017 4:43 pm
by dunbarx
Hi.

Sounds like fun. Why not make each "field" a menu button of some kind? You know the number of lines in each, and move the lower buttons down by the proper amount.These can all collapse when the menuItem is selected.

Or I guess you could show and insert additional fields below the clicked one, set up in basically the same way, and move the lower ones as above.

Either approach uses the same simple method of shifting the lower controls based on the contents of the selected control, and it may be simply a matter of style, or looks, which one you prefer.

Craig Newman

Re: field/scroll behaviour with visual effect.

Posted: Sun Feb 26, 2017 5:29 pm
by FourthWorld
This tutorial may help: in the IDE, click Resources in the menu bar, then in the Resource Center window see Tutorials -> Graphical Interface -> Blind Effect.

Re: field/scroll behaviour with visual effect.

Posted: Sun Feb 26, 2017 7:04 pm
by Jellobus
Hi dunbarx , FourthWorld,

Your advice really helps. Do you guise have any sample stacks? :mrgreen:

Thanks anyway!

Louis

Re: field/scroll behaviour with visual effect.

Posted: Sun Feb 26, 2017 7:21 pm
by FourthWorld
The tutorial I pointed you to includes a sample stack.

Re: field/scroll behaviour with visual effect.

Posted: Mon Feb 27, 2017 5:58 am
by dunbarx
You need to make your own sample stack. Just throw a few controls together and play around.

Ask questions all day here, but ask them about the development of your own gadgetry..

Craig

Re: field/scroll behaviour with visual effect.

Posted: Mon Feb 27, 2017 10:24 am
by Jellobus
I have materials to learn so I will definitely try my best to achieve what I aiming for. It will be fun! Thank you for your time!

Louis