Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Drawer tool button


This question is answered.


Permlink Replies: 2 - Last Post: Jan 7, 2017 9:02 AM Last Post By: Graham Murt
Shanil M

Posts: 62
Registered: 12/24/04
Drawer tool button  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 6, 2017 6:22 AM
Hi I am using 10.1 Berlin Version 24.0.25048.9432 update 2.

I notice with mobile apps, common properties of a drawer button are to:
- animate a panel/rectangle opening quickly, similar to opening a drawer for real
- hold it down to be able to drag it open and closed

I managed to get the animation working with TFloatAnimation, but does anyone have any examples or code on how to do the drag?

thanks
Shanil
Eli M

Posts: 1,346
Registered: 11/9/13
Re: Drawer tool button
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 6, 2017 7:31 AM   in response to: Shanil M in response to: Shanil M
TMultiView handles the drag by default.
Graham Murt

Posts: 70
Registered: 5/15/07
Re: Drawer tool button
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2017 9:02 AM   in response to: Shanil M in response to: Shanil M
Take a look here...

https://twitter.com/kscomponents/status/647355055700606976

Shanil M wrote:
Hi I am using 10.1 Berlin Version 24.0.25048.9432 update 2.

I notice with mobile apps, common properties of a drawer button are to:
- animate a panel/rectangle opening quickly, similar to opening a drawer for real
- hold it down to be able to drag it open and closed

I managed to get the animation working with TFloatAnimation, but does anyone have any examples or code on how to do the drag?

thanks
Shanil
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02