669 views
in Embedded Wizard Studio by
Hi Embedded Wizard team,

I'm testing your SolarDemo...
This demo allows you to change the page currently displayed by sliding your finger from right to left (or vice versa).
The scrolling starts only if a certain threshold is exceeded, otherwise it returns to the page in use (central page).

Who is responsible for managing the return to the page in use?
Is it related to the outline object?

Thank you for your help, best regards

Giorgio

1 Answer

0 votes
by

Hi Giorgio,

the class Solar::PanelCarousel is responsible to manage the different panels within the solar demo. It is implemented by using an OutlineBox where a CenterPanel (the currently visible one) and a LeftPanel (left neighbor) and a RightPanel (right neighbor) are placed.

The managing of the touch gestures (and the resulting shift left or shift right operations) are done by the SlideTouchHandler. The property ResetSpace can be used to configure the slide behavior. The property SnapNext defines the distance between the panels so that the OutlineBox snaps into full panel positions.

Does this answer your question?

Best regards,

Manfred.

by
Ok perfect.

Best regards

Giorgio

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...