1
00:00:00,600 --> 00:00:01,990
Hello and welcome.

2
00:00:02,160 --> 00:00:10,650
In this brief lecture I just want to share a couple of tips that you can use to improve your project.

3
00:00:10,650 --> 00:00:17,280
There are lots more that you can also think about but I've just got a couple that might help you improve

4
00:00:17,280 --> 00:00:17,940
the project.

5
00:00:18,420 --> 00:00:20,790
So the tips I'm talking about at the moment.

6
00:00:20,820 --> 00:00:27,600
The way I've built the project I've built it in such a way that you can only select one music file at

7
00:00:27,600 --> 00:00:30,160
a time doesn't let you select multiple.

8
00:00:30,240 --> 00:00:35,660
So I'll give you a tip or I'll show you a tip rather on how you can implement that.

9
00:00:35,760 --> 00:00:42,490
Also when you select the files it doesn't specify for example.

10
00:00:42,660 --> 00:00:50,340
It doesn't give you a dropdown list of the type of files that you can select as a music player for example.

11
00:00:50,340 --> 00:00:54,510
It doesn't tell you you can if you click on the open dialog box.

12
00:00:54,510 --> 00:00:59,990
It doesn't give you the options for the file types that you can use.

13
00:01:00,000 --> 00:01:07,500
So I'm gonna show you a tip on how you can open multiple music files and also how you can specify a

14
00:01:07,500 --> 00:01:11,930
filter to specify the variables file formats.

15
00:01:14,160 --> 00:01:18,040
Okay I've got the application open inside feature studio.

16
00:01:18,840 --> 00:01:22,050
We've got this open dialogue open file dialog here.

17
00:01:22,080 --> 00:01:28,530
So this is what when you click on the browse button This is what opens up the dialog box for you to

18
00:01:28,530 --> 00:01:31,310
select the music file at the moment.

19
00:01:31,310 --> 00:01:35,850
There is a property here called multi select.

20
00:01:35,850 --> 00:01:43,060
This is a property of this open file that lock that multi select property by default it's set to false.

21
00:01:43,170 --> 00:01:45,510
So it doesn't let you select more than one file.

22
00:01:46,020 --> 00:01:47,280
So let's test that out.

23
00:01:47,340 --> 00:01:50,550
I click on Start and you can see what I mean.

24
00:01:50,550 --> 00:01:58,830
So if I click on browse and select that and try and select more than one it doesn't let me in just let

25
00:01:58,830 --> 00:02:03,050
me select the one I click open and it plays that.

26
00:02:03,060 --> 00:02:03,480
OK.

27
00:02:03,510 --> 00:02:06,460
So I just pass up an exit.

28
00:02:07,170 --> 00:02:07,500
All right.

29
00:02:07,500 --> 00:02:16,320
So what you can do if you change that property to True let's let's test that out change to true and

30
00:02:16,490 --> 00:02:23,810
run your application again click on Browse let's try and select it should let you see it.

31
00:02:23,810 --> 00:02:26,120
Let me select more files.

32
00:02:26,130 --> 00:02:30,220
Now you can see that's the first artist.

33
00:02:30,690 --> 00:02:32,340
That's a second artist.

34
00:02:33,000 --> 00:02:36,070
That's another that's another artist.

35
00:02:36,210 --> 00:02:43,740
So you can achieve that using by enabling the Maltese select set in that to true.

36
00:02:43,740 --> 00:02:45,680
And that will achieve that.

37
00:02:45,690 --> 00:02:51,750
Another thing also is that when you let me click let me run the application against that you can see

38
00:02:51,750 --> 00:02:54,080
when you browse.

39
00:02:54,150 --> 00:03:00,450
It doesn't give you normally it should give you the file and it should give you a little dropdown list

40
00:03:01,140 --> 00:03:09,570
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

41
00:03:09,630 --> 00:03:15,200
implemented that all all they happen is if you select the file it will only display the file name here

42
00:03:15,750 --> 00:03:23,190
but there should have been also know that dropdown that you can select the file format that I have not

43
00:03:23,310 --> 00:03:24,660
implemented.

44
00:03:24,660 --> 00:03:31,030
But if you want to implement that you can again do that using the filter.

45
00:03:31,230 --> 00:03:39,870
See there's a property here called filter and you can use that to specify various file formats like

46
00:03:39,930 --> 00:03:44,530
MP 3 A VII wildfires and so on.

47
00:03:44,550 --> 00:03:54,270
So when you do use this filter property you've got to use it with the open there is you you create a

48
00:03:55,200 --> 00:04:05,130
variable local variable code open and then you attach the filter property to it and inside as part of

49
00:04:05,130 --> 00:04:11,310
that variable you set the value of the variable to equal to the various type of file formats you want

50
00:04:11,310 --> 00:04:14,820
displayed that's how you implement something like that.

51
00:04:14,870 --> 00:04:15,180
Okay.

52
00:04:15,180 --> 00:04:17,760
I hope these couple of tips will be helpful.

53
00:04:17,760 --> 00:04:21,380
I'm sure you can think up think of a few more yourself.

54
00:04:21,480 --> 00:04:22,600
Bob thank you so much.

55
00:04:22,680 --> 00:04:25,490
I have enjoyed doing this project for you.

56
00:04:25,530 --> 00:04:28,560
I hope it will help you one way or the other.

57
00:04:28,560 --> 00:04:29,460
Thank you so much.

58
00:04:29,460 --> 00:04:30,230
Take care.

59
00:04:30,240 --> 00:04:30,890
Bye for now.
