From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2019r2

Supported for all project types and targets.

Determines if the controller is displayed. The default is True.


This example hides the controls and autoplays the movie.

Var f As FolderItem

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