From Xojo Documentation

Revision as of 15:57, 7 October 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aMoviePlayer.HasVolumeControl = newBooleanValue
BooleanValue = aMoviePlayer.HasVolumeControl

New in 2019r2

Supported for all project types and targets.

Displays the speaker volume control.


When set in code, this takes effect the next time the MoviePlayer control is assigned a movie.


The following example hides the volume control before assigning a movie to the player.

Var f As FolderItem

f = FolderItem.ShowOpenFileDialog(FileTypes1.VideoMp4)
If f <> Nil Then
MoviePlayer1.AutoPlay = True
MoviePlayer1.HasVolumeControl = False
MoviePlayer1.Movie = Movie.Open(f)
End If