Hello and welcome.
In this brief lecture I just want to share a couple of tips that you can use to improve your project.
There are lots more that you can also think about but I've just got a couple that might help you improve
the project.
So the tips I'm talking about at the moment.
The way I've built the project I've built it in such a way that you can only select one music file at
a time doesn't let you select multiple.
So I'll give you a tip or I'll show you a tip rather on how you can implement that.
Also when you select the files it doesn't specify for example.
It doesn't give you a dropdown list of the type of files that you can select as a music player for example.
It doesn't tell you you can if you click on the open dialog box.
It doesn't give you the options for the file types that you can use.
So I'm gonna show you a tip on how you can open multiple music files and also how you can specify a
filter to specify the variables file formats.
Okay I've got the application open inside feature studio.
We've got this open dialogue open file dialog here.
So this is what when you click on the browse button This is what opens up the dialog box for you to
select the music file at the moment.
There is a property here called multi select.
This is a property of this open file that lock that multi select property by default it's set to false.
So it doesn't let you select more than one file.
So let's test that out.
I click on Start and you can see what I mean.
So if I click on browse and select that and try and select more than one it doesn't let me in just let
me select the one I click open and it plays that.
OK.
So I just pass up an exit.
All right.
So what you can do if you change that property to True let's let's test that out change to true and
run your application again click on Browse let's try and select it should let you see it.
Let me select more files.
Now you can see that's the first artist.
That's a second artist.
That's another that's another artist.
So you can achieve that using by enabling the Maltese select set in that to true.
And that will achieve that.
Another thing also is that when you let me click let me run the application against that you can see
when you browse.
It doesn't give you normally it should give you the file and it should give you a little dropdown list
where you can select the type of file if you say why file if it's an MP three if it's an API I've not
implemented that all all they happen is if you select the file it will only display the file name here
but there should have been also know that dropdown that you can select the file format that I have not
implemented.
But if you want to implement that you can again do that using the filter.
See there's a property here called filter and you can use that to specify various file formats like
MP 3 A VII wildfires and so on.
So when you do use this filter property you've got to use it with the open there is you you create a
variable local variable code open and then you attach the filter property to it and inside as part of
that variable you set the value of the variable to equal to the various type of file formats you want
displayed that's how you implement something like that.
Okay.
I hope these couple of tips will be helpful.
I'm sure you can think up think of a few more yourself.
Bob thank you so much.
I have enjoyed doing this project for you.
I hope it will help you one way or the other.
Thank you so much.
Take care.
Bye for now.