filmov
tv
Delphi Tutorial of How to Create a Piano
Показать описание
How to Create a Piano in Delphi using TPanel. See the complete code below for the C note.
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, MMSystem, Vcl.MPlayer;
type
TForm1 = class(TForm)
panC: TPanel;
procedure panCClick(Sender: TObject);
begin
sndPlaySound('C:\Users\Del\Documents\Projectl\Delphi_in_Piano\Music\C.wav',
SND_NODEFAULT or SND_ASYNC);
end;
To support more videos from Paul Oamen, visit POamen Paypal
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, MMSystem, Vcl.MPlayer;
type
TForm1 = class(TForm)
panC: TPanel;
procedure panCClick(Sender: TObject);
begin
sndPlaySound('C:\Users\Del\Documents\Projectl\Delphi_in_Piano\Music\C.wav',
SND_NODEFAULT or SND_ASYNC);
end;
To support more videos from Paul Oamen, visit POamen Paypal