Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > VCL

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 03-03-2018, 04:27 PM
Dman Dman is offline
Junior Member
 
Join Date: Jul 2010
Posts: 28
Red face [Video] How to build viewport UI like Amazon.com

Thanks for reading my question.

I made a video here of my issues:

http://tinyurl.com/ybnspjtg

Basically, I just need to simulate the little "blue grid below the mouse cursor" -- that appears above the shirt thumbnail in Amazon.com

You can see an Amazon sample listing here: http://amzn.com/B01LZUORH5

Perhaps the best way is to create an image over an image in Delphi? And then use a "grid image" as the top image http://tinyurl.com/y8po54h4 and then have this follow the mouse cursor somehow...?

Ideas?

Thanks!
Reply With Quote
  #2  
Old 03-05-2018, 08:52 AM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,303
Default

Yes, it's just a matter of adding an extra transparent image with Draggable available.

#1 add your extra image and make it semi-transparent
#2 make it draggable within the boundries of the parent
#3 on the move update the content of your detail image

The only part that could be tricky is #3. Updating could stotter your application...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:21 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2018, vBulletin Solutions, Inc.