This is a migrated thread and some comments may be shown as answers.

How to Implment Drawing Highlighting?

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark K.
Top achievements
Rank 1
Mark K. asked on 11 Mar 2010, 12:55 AM
I have the free Audacity audio file editor program.  When you load in an audio file, the program displays a waveform of the audio.  You can mark an area on the waveform by clicking on the wave form with the cursor and draging the cursor horizontally.  This causes the area you selected to have a darker background.  It looks like a selected block.  (See attached screenshot.)

Once you've done that, you can also position the cursor on either end of the block to drag that edge of the selected portion back and forth to resize the area.

I need to implement a similar feature in my own application, with the added requirement of being able to select more than one area on the waveform at one time.

Anyone have any ideas on how I might go about this using Telerik .NET forms controls?  Maybe positioning some kind of partially transparent object over the waveform?

Thanks for any suggestions.

1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 15 Mar 2010, 10:23 AM
Hello Mark K.,

You can achieve the desired behavior with the help of RadPanels. I am attaching a sample project which demonstrates the how you can implement semi-transparent RadPanels. However, the rest of the scenario is custom and it will require some implementation from your side.

If you have additional questions, feel free to contact me.

Kind regards,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Mark K.
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or