Skip to main content
Nredd.1
Associate III
Nov 22, 2020 7:08 PM UTC
Solved

I am using stm32h7 series board,Is there any swipe down from the display page in touchgfx?

..

This topic has been closed for replies.
Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
Nov 24, 2020 9:33 AM UTC

Yes, you can swipe using e.g. the Swipe Container. This has already been discussed e.g. here and you will find some documentation there.

When your question is answered, please close this topic by choosing Select as Best.

Good luck!

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

3 replies

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
Nov 24, 2020 9:33 AM UTC

Yes, you can swipe using e.g. the Swipe Container. This has already been discussed e.g. here and you will find some documentation there.

When your question is answered, please close this topic by choosing Select as Best.

Good luck!

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Nredd.1
Nredd.1Author
Associate III
Nov 26, 2020 6:59 PM UTC

Thanks peter ,

These swipe container only swipe left/right, but we want swipe up/down also ?

Actually, I am also working on slide menu ,but the slide menu is "button type" only but we need swipe type if it is any possible?

Regards,

Narendar.v

Alexandre RENOUX
Visitor II
Nov 27, 2020 5:53 AM UTC

Hello,

For a vertical swipe container you can simply modify the widget so that it moves according to the y coordinate instead of the x coordinate. It should be pretty straightforward. I don't recommend to modify directly the widget but to create a custom one which is basically a copy of the Swipe container with the vertical aspect added.

What do you mean by slide menu ? If you want a menu you can slide we have 3 main possibilities :

  • A scrollwheel
  • A scrollList
  • A List Layout inside a Scrollable container

I recommend the latter.

/Alexandre