Find Jobs
Hire Freelancers

Custom control: A bar with multiple colored blocks

$30-250 USD

Completed
Posted almost 3 years ago

$30-250 USD

Paid on delivery
Implement in Delphi 10.4 or compatible, a custom visual control called TPTZColorBar. Please see the attached screenshot as it could look like in an application. The color bar is used to hold between 0 and 10 elements or blocks. Each block has its own color, border color, focus color and focus border color. In a normal state, each block is drawn using its defined color and border color. If the mouse cursor enters a block's area, its color and border color will change to the focus color and focus border color. Each block must also hold a tag integer value and support onClick event so we can know which block user has clicked. Do notice that the drawing of the blocks must be identical to that of the screenshot, i.e. anti aliased and smooth. The color bar needs to work only in a horizontal mode (i.e. no need to have a vertical support). Naturally, the control must work smoothly, flicker free and support any height of the control but normally it will be used as the height similar to that of the screenshot. Do notice the control has rounded corners. You can assume the control is only used over a canvas that has solid color background. I.e., Please implement the round corners simply by painting a solid color as the background color and then draw over it. No need for transparency. Hence, the control must have a defined property of background color and bar color (i.e. the empty part of the bar, without any blocks on it, light gray color by default). It must be possible to create and resize the blocks in runtime only. No need for any design-time edit functionality. In design-time, the TPTZColorBar can simply draw empty. As a part of the project, please include a sample project and its compiled version, that shows a form with the TPTZColorBar visible the same way as in the included screenshot. The solution cannot be based to FML or any third party controls or component packs. You can use any third party code, if it is BSD style licensed and you include everything with your work.
Project ID: 30992531

About the project

2 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$0 USD in 1 day
4.9 (125 reviews)
5.9
5.9
2 freelancers are bidding on average $85 USD for this job
User Avatar
Hello I am de Delphi develover for about 10 years and creating components, using sql. Therefore I guess I can help you in your project I have created a sample, but I don't know how to attach it
$100 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of THAILAND
Chiang Mai, Thailand
5.0
672
Payment method verified
Member since Mar 16, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.