Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3866

Example from docs (Movie) is bad

$
0
0

The example for Movie is bad: it allows the user to choose each or any item from the Open Dialog (no filtering is done):

This is the example:

Var f As FolderItem
f = FolderItem.ShowOpenFileDialog("video/quicktime")
If f <> Nil Then
  MoviePlayer1.Movie = Movie.Open(f)
End If

i choosed a pdf file, click in the default button, and no crash.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3866

Trending Articles