1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram

  5. Delphifan Magazine
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

RAD Studio XE5 – Adding Gestures to the Drawer

Discussion in 'Delphi Android And IOS' started by AdminDF, Apr 9, 2014.

  1. AdminDF
    Online

    AdminDFAdminDF is a Verified Member Delphifan Staff Member DF Staff

    A common functionality for drawers is that they can be swiped out and in by using a gesture. FM also provides support to enable gestures in your app in a very easy way, and this is what this post is about.

    You need to add a GestureManager component to your form, and then, assign it to the Touch.GestureManager property of the component you want to react to the gesture, in this case, to the Panel1 component we used for the content area.

    After that, you enable the gestures you want to listen to and in the OnGesture event, you write the code to react to the specific gestures. So in the video I’m refactoring a bit the code I wrote for the drawer to be reused both for the gestures and when you click on the speed button at the top.

    Download Here
     

Share This Page