form_imelody.dfm
上传用户:gelin96
上传日期:2017-01-08
资源大小:20993k
文件大小:8k
源码类别:

MTK

开发平台:

C++ Builder

  1. object frmiMelody: TfrmiMelody
  2.   Left = 251
  3.   Top = 96
  4.   Width = 669
  5.   Height = 359
  6.   Caption = 'iMelody'
  7.   Color = clBtnFace
  8.   Font.Charset = DEFAULT_CHARSET
  9.   Font.Color = clWindowText
  10.   Font.Height = -11
  11.   Font.Name = 'MS Sans Serif'
  12.   Font.Style = []
  13.   OldCreateOrder = False
  14.   PixelsPerInch = 96
  15.   TextHeight = 13
  16.   object GroupBox1: TGroupBox
  17.     Left = 8
  18.     Top = 8
  19.     Width = 649
  20.     Height = 281
  21.     Caption = 'iMelody'
  22.     TabOrder = 0
  23.     object labelRepeat: TLabel
  24.       Left = 24
  25.       Top = 24
  26.       Width = 40
  27.       Height = 13
  28.       Caption = 'Repeats'
  29.       FocusControl = sb_L1sp
  30.     end
  31.     object Label1: TLabel
  32.       Left = 104
  33.       Top = 24
  34.       Width = 77
  35.       Height = 13
  36.       Caption = 'Speaker volume'
  37.     end
  38.     object Label2: TLabel
  39.       Left = 208
  40.       Top = 24
  41.       Width = 69
  42.       Height = 13
  43.       Caption = 'Buzzer volume'
  44.     end
  45.     object memoiMelody: TMemo
  46.       Left = 8
  47.       Top = 88
  48.       Width = 529
  49.       Height = 209
  50.       Enabled = False
  51.       Lines.Strings = (
  52.         '')
  53.       TabOrder = 0
  54.     end
  55.     object btnPlayiMelody: TBitBtn
  56.       Left = 544
  57.       Top = 184
  58.       Width = 97
  59.       Height = 41
  60.       Caption = 'play iMelody'
  61.       TabOrder = 1
  62.       OnClick = btnPlayiMelodyClick
  63.       Glyph.Data = {
  64.         42020000424D4202000000000000420000002800000010000000100000000100
  65.         1000030000000002000000000000000000000000000000000000007C0000E003
  66.         00001F0000001F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C
  67.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C
  68.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F7C1F7C1F7C1F7C1F7C1F7C1F7C
  69.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F7C1F7C1F7C1F7C1F7C1F7C
  70.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F001F001F7C1F7C1F7C1F7C
  71.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F001F001F001F7C1F7C1F7C
  72.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F001F001F001F001F001F7C
  73.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F001F001F001F001F001F00
  74.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F001F001F001F001F001F7C
  75.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F001F001F001F001F7C1F7C
  76.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F001F001F7C1F7C1F7C1F7C
  77.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F001F7C1F7C1F7C1F7C1F7C
  78.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F001F001F7C1F7C1F7C1F7C1F7C1F7C
  79.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F001F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C
  80.         1F7C1F7C1F7C1F7C1F7C1F7C1F001F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C
  81.         1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C
  82.         1F7C1F7C1F7C}
  83.     end
  84.     object btnStopPlayiMelody: TBitBtn
  85.       Left = 544
  86.       Top = 232
  87.       Width = 97
  88.       Height = 41
  89.       Caption = 'stop play'
  90.       TabOrder = 2
  91.       OnClick = btnStopPlayiMelodyClick
  92.       Glyph.Data = {
  93.         F6000000424DF600000000000000760000002800000010000000100000000100
  94.         0400000000008000000000000000000000001000000000000000000000000000
  95.         8000008000000080800080000000800080008080000080808000C0C0C0000000
  96.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00FFFFFFFFFFFF
  97.         FFFFFFFFFFFFFFFFFFFFFFFFF999999FFFFFFFF9999999999FFFFFF999FFFFF9
  98.         9FFFFFF9999FFFF99FFFFF99F999FFFF99FFFF99FF999FFF99FFFF99FFF999FF
  99.         99FFFF99FFFF999F99FFFFF99FFFF9999FFFFFF99FFFFF999FFFFFF999999999
  100.         9FFFFFFFF999999FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
  101.     end
  102.     object edtRepeats: TEdit
  103.       Left = 16
  104.       Top = 40
  105.       Width = 57
  106.       Height = 21
  107.       TabOrder = 3
  108.       Text = '1'
  109.       OnExit = edtRepeatsCheck
  110.     end
  111.     object edtSpeakerVolume: TEdit
  112.       Left = 112
  113.       Top = 40
  114.       Width = 65
  115.       Height = 21
  116.       TabOrder = 4
  117.       Text = '128'
  118.       OnExit = edtSpeakerVolumeCheck
  119.     end
  120.     object edtBuzzerVolume: TEdit
  121.       Left = 208
  122.       Top = 40
  123.       Width = 65
  124.       Height = 21
  125.       TabOrder = 5
  126.       Text = '4'
  127.       OnExit = edtBuzzerVolumeCheck
  128.     end
  129.     object Device: TGroupBox
  130.       Left = 536
  131.       Top = 16
  132.       Width = 105
  133.       Height = 65
  134.       Caption = 'Device'
  135.       TabOrder = 6
  136.       object RadioButtonSpeaker: TRadioButton
  137.         Left = 8
  138.         Top = 16
  139.         Width = 113
  140.         Height = 17
  141.         Caption = 'Speaker'
  142.         TabOrder = 0
  143.       end
  144.       object RadioButtonBuzzer: TRadioButton
  145.         Left = 8
  146.         Top = 40
  147.         Width = 113
  148.         Height = 17
  149.         Caption = 'Buzzer'
  150.         TabOrder = 1
  151.       end
  152.     end
  153.     object btnSaveMemotoFile: TBitBtn
  154.       Left = 544
  155.       Top = 88
  156.       Width = 97
  157.       Height = 41
  158.       Caption = 'Save to file'
  159.       TabOrder = 7
  160.       OnClick = btnSaveMemotoFileClick
  161.       Glyph.Data = {
  162.         F6000000424DF600000000000000760000002800000010000000100000000100
  163.         0400000000008000000000000000000000001000000000000000000000000000
  164.         8000008000000080800080000000800080008080000080808000C0C0C0000000
  165.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00FFFFFFFFFFFF
  166.         FFFFFFFFFFFFFFFFFFFFFFF00000000000FFFF0330000FF030FFFF0330000FF0
  167.         30FFFF033000000030FFFF033333333330FFFF033000000330FFFF030FFFFFF0
  168.         30FFFF030FFFFFF030FFFF030FFFFFF030FFFF030FFFFFF000FFFF030FFFFFF0
  169.         F0FFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
  170.     end
  171.     object btnLoadFromFile: TBitBtn
  172.       Left = 544
  173.       Top = 136
  174.       Width = 97
  175.       Height = 41
  176.       Caption = 'Load from file'
  177.       TabOrder = 8
  178.       OnClick = btnLoadFromFileClick
  179.       Glyph.Data = {
  180.         42020000424D4202000000000000420000002800000010000000100000000100
  181.         1000030000000002000000000000000000000000000000000000007C0000E003
  182.         00001F0000001F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C
  183.         1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C
  184.         1F7C1F7C1F7C000000000000000000000000000000000000000000001F7C1F7C
  185.         1F7C1F7C1F7C0000000000420042004200420042004200420042004200001F7C
  186.         1F7C1F7C1F7C0000E07F00000042004200420042004200420042004200420000
  187.         1F7C1F7C1F7C00001F7CE07F0000004200420042004200420042004200420042
  188.         00001F7C1F7C0000E07F1F7CE07F000000420042004200420042004200420042
  189.         004200001F7C00001F7CE07F1F7CE07F00000000000000000000000000000000
  190.         0000000000000000E07F1F7CE07F1F7CE07F1F7CE07F1F7CE07F00001F7C1F7C
  191.         1F7C1F7C1F7C00001F7CE07F1F7CE07F1F7CE07F1F7CE07F1F7C00001F7C1F7C
  192.         1F7C1F7C1F7C0000E07F1F7CE07F00000000000000000000000000001F7C1F7C
  193.         1F7C1F7C1F7C1F7C0000000000001F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C0000
  194.         000000001F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C
  195.         000000001F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C00001F7C1F7C1F7C0000
  196.         1F7C00001F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C0000000000001F7C
  197.         1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C1F7C
  198.         1F7C1F7C1F7C}
  199.     end
  200.     object lblHint: TStaticText
  201.       Left = 440
  202.       Top = 16
  203.       Width = 33
  204.       Height = 17
  205.       BorderStyle = sbsSingle
  206.       Caption = 'lblHint'
  207.       Color = clYellow
  208.       ParentColor = False
  209.       TabOrder = 9
  210.       Visible = False
  211.     end
  212.   end
  213.   object sb_L1sp: TStatusBar
  214.     Left = 0
  215.     Top = 291
  216.     Width = 661
  217.     Height = 41
  218.     Panels = <
  219.       item
  220.         Width = 200
  221.       end
  222.       item
  223.         Width = 200
  224.       end>
  225.     SimplePanel = False
  226.   end
  227.   object OpenDialog: TOpenDialog
  228.     Left = 296
  229.     Top = 58
  230.   end
  231.   object SaveDialog: TSaveDialog
  232.     Left = 304
  233.     Top = 18
  234.   end
  235.   object HintTimer: TTimer
  236.     Enabled = False
  237.     Interval = 4000
  238.     OnTimer = HintTimerTimer
  239.     Left = 464
  240.     Top = 8
  241.   end
  242. end