[Component] Playing and storing WAV files in RVF
Posted: Tue Jul 11, 2006 8:26 pm
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
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