ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Multimedia functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
<Multimedia>.Volume (Function)
In french: <Multimédia>.Volume
Returns or modifies the sound volume of the media file played in a Multimedia control.
Example
Reports and Queries
MyFile is string = "C:\My music\mysong.mp3"
MM_Multimedia1.Play(MyFile)
// Defines the sound
MM_Multimedia1.Volume(50)
Syntax

Finding out the sound volume Hide the details

<Result> = <Multimedia control>.Volume()
<Result>: Integer
Current sound volume (between 0 and 100, 0 for mute).
<Multimedia control>: Control name
Name of the Multimedia control to be used.

Modifying the sound volume Hide the details

<Result> = <Multimedia control>.Volume(<New volume>)
<Result>: Integer
Sound volume before modification (between 0 and 100, 0 for mute).
<Multimedia control>: Control name
Name of Multimedia control to use.
<New volume>: Integer
Requested sound volume (between 0 and 100, 0 for mute).
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/19/2023

Send a report | Local help