MoviePlayer.MovieController

From Xojo Documentation

Revision as of 14:41, 19 June 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Read-Only Property (As OLEObject )
OLEObjectValue = aMoviePlayer.MovieController

New in 2006r1

Supported for all project types and targets.

Returns an OLEObject that you can use to access the MoviePlayer directly. Documentation for this object can be found here: https://msdn.microsoft.com/en-us/library/windows/desktop/dd563945(v=vs.85).aspx

Sample Code

Sets the "stretchToFit" property in the OLEObject to True:

Dim obj As OLEObject = MoviePlayer1.MovieController
obj.Value("stretchToFit") = True