MoviePlayer.HasStepControls

From Xojo Documentation

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

Property (As Boolean )
aMoviePlayer.HasStepControls = newBooleanValue
or
BooleanValue = aMoviePlayer.HasStepControls

Supported for all project types and targets.

If True, the controller has forward and reverse arrows to the right of the slider. The default is True.

Notes

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

Example

This example hides the step controls. Since it is called prior to the assignment of a movie to the player, the controls are not shown for this movie.

Var f As FolderItem

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