Page 1 of 1

[Component] Playing and storing WAV files in RVF

Posted: Tue Jul 11, 2006 8:26 pm
by Sergey Tkachenko
http://www.trichview.com/support/files/wavbutton.zip

This component shows how to store additional binary data together with components in RVF file.
In this example, we create the new component TWavButton inherited from TButton. It plays the specified WAV file on clicking. But the main feature of this component is an ability to store this WAV file, like components store their properties. This feature allows to distribute applications without WAV files.
If placed on form, this component can store WAV data assigned at design time. If inserted in TRichView, this component can store WAV data in RVF files.

--

A similar example: http://www.trichview.com/forums/viewtopic.php?t=72

Re: [Component] Playing and storing WAV files in RVF

Posted: Wed Dec 08, 2021 4:35 pm
by Nostradamus
This component does not compile

can't find TWavbutton unit

Re: [Component] Playing and storing WAV files in RVF

Posted: Wed Dec 08, 2021 5:02 pm
by Sergey Tkachenko
WavButton.pas is in the root folder of this ZIP file