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
[Component] Playing and storing WAV files in RVF
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 67
- Joined: Sat May 13, 2006 1:56 pm
- Location: Australia
Re: [Component] Playing and storing WAV files in RVF
This component does not compile
can't find TWavbutton unit
can't find TWavbutton unit
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: [Component] Playing and storing WAV files in RVF
WavButton.pas is in the root folder of this ZIP file