03-02-2014, 06:36 PM
procedure TForm6.MediaPlayer1PostClick(Sender: TObject; Button: TMPBtnType
var
sub
tring;
myword
tring;
begin
myword:=edit1.Text;
sub:=copy(myword,length(myword)-3,4
if sub='.mpg' then
form2.Show
if button=btplay then
Mediaplayer1.Play
timer1.Enabled:=true
if button=btplay then
mediaplayer1.Display:=form2
end;
مبرمج على 2009
لكن قمت بنقله الى EX4
var
sub
tring;myword
tring;begin
myword:=edit1.Text;
sub:=copy(myword,length(myword)-3,4
if sub='.mpg' then
form2.Show
if button=btplay then
Mediaplayer1.Play
timer1.Enabled:=true
if button=btplay then
mediaplayer1.Display:=form2
end;
مبرمج على 2009
لكن قمت بنقله الى EX4

