Pseudecode membuat kalkulator dengan delphi
object Form1: TForm1
Left = 161
Top = 119
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'Calculator : Direct Manipulation Style'
ClientHeight = 326
ClientWidth = 522
Color = clGradientInactiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Image1: TImage
Left = 0
Top = 0
Width = 522
Height = 313
Align = alClient
object Label1: TLabel
Left = 16
Top = 56
Width = 96
Height = 20
Alignment = taRightJustify
Caption = 'Operand - 1'
Color = clInactiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
Transparent = True
end
object Label2: TLabel
Left = 40
Top = 80
Width = 72
Height = 20
Alignment = taRightJustify
Caption = 'Operator'
Color = clInactiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
Transparent = True
end
object Label3: TLabel
Left = 16
Top = 104
Width = 96
Height = 20
Alignment = taRightJustify
Caption = 'Operand - 2'
Color = clInactiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
Transparent = True
end
object Label4: TLabel
Left = 0
Top = 0
Width = 125
Height = 13
Caption = 'Dibuat oleh Mikki'
Color = clActiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = False
ParentFont = False
Transparent = True
Visible = False
end
object Bevel1: TBevel
Left = 132
Top = 131
Width = 40
Height = 166
Style = bsRaised
end
object Bevel2: TBevel
Left = 12
Top = 131
Width = 120
Height = 166
Style = bsRaised
end
object Label5: TLabel
Left = 0
Top = 313
Width = 522
Height = 13
Align = alBottom
Alignment = taCenter
Caption = 'Dibuat oleh Teddy Marcus'
Color = clActiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = False
ParentFont = False
end
object EdtHasil: TEdit
Left = 16
Top = 24
Width = 217
Height = 28
BevelKind = bkFlat
BorderStyle = bsNone
Color = clGradientActiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
ReadOnly = True
TabOrder = 0
end
object Button1: TButton
Left = 16
Top = 216
Width = 33
Height = 33
Caption = '1'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
OnClick = Button1Click
end
object Button2: TButton
Left = 56
Top = 216
Width = 33
Height = 33
Caption = '2'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
OnClick = Button2Click
end
object Button3: TButton
Left = 96
Top = 216
Width = 33
Height = 33
Caption = '3'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
OnClick = Button3Click
end
object Button4: TButton
Left = 16
Top = 176
Width = 33
Height = 33
Caption = '4'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
OnClick = Button4Click
end
object Button5: TButton
Left = 56
Top = 176
Width = 33
Height = 33
Caption = '5'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 5
OnClick = Button5Click
end
object Button6: TButton
Left = 96
Top = 176
Width = 33
Height = 33
Caption = '6'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 6
OnClick = Button6Click
end
object Button7: TButton
Left = 16
Top = 136
Width = 33
Height = 33
Caption = '7'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 7
OnClick = Button7Click
end
object Button8: TButton
Left = 56
Top = 136
Width = 33
Height = 33
Caption = '8'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 8
OnClick = Button8Click
end
object Button9: TButton
Left = 96
Top = 136
Width = 33
Height = 33
Caption = '9'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 9
OnClick = Button9Click
end
object Button10: TButton
Left = 16
Top = 256
Width = 73
Height = 33
Caption = '0'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 10
OnClick = Button10Click
end
object Button11: TButton
Left = 136
Top = 136
Width = 33
Height = 33
Caption = '/'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 11
OnClick = Button11Click
end
object Button12: TButton
Left = 136
Top = 176
Width = 33
Height = 33
Caption = '*'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 12
OnClick = Button12Click
end
object Button13: TButton
Left = 136
Top = 216
Width = 33
Height = 33
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 13
OnClick = Button13Click
end
object Button14: TButton
Left = 136
Top = 256
Width = 33
Height = 33
Caption = '+'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 14
OnClick = Button14Click
end
object Button15: TButton
Left = 96
Top = 256
Width = 33
Height = 33
Caption = '.'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 15
OnClick = Button15Click
end
object EdtOp1: TEdit
Left = 120
Top = 56
Width = 113
Height = 21
Color = clGradientInactiveCaption
ReadOnly = True
TabOrder = 16
OnChange = EdtOp1Change
end
object EdtOp2: TEdit
Left = 120
Top = 104
Width = 113
Height = 21
Color = clGradientInactiveCaption
ReadOnly = True
TabOrder = 17
OnChange = EdtOp2Change
end
object EdtOp: TEdit
Left = 120
Top = 80
Width = 113
Height = 21
Color = clMoneyGreen
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ReadOnly = True
TabOrder = 18
OnChange = EdtOpChange
end
object Button16: TButton
Left = 176
Top = 256
Width = 33
Height = 33
Caption = '='
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 19
OnClick = Button16Click
end
object Button17: TButton
Left = 176
Top = 136
Width = 33
Height = 33
Caption = 'C'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 20
OnClick = Button17Click
end
object btnDetil: TButton
Left = 220
Top = 275
Width = 33
Height = 14
Caption = '>>'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 21
OnClick = btnDetilClick
end
object Memo1: TMemo
Left = 267
Top = 15
Width = 249
Height = 274
Alignment = taCenter
Color = clNavy
Font.Charset = ANSI_CHARSET
Font.Color = clSilver
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
Lines.Strings = (
'Program Calculator Versi M.3'
''
'Dibuat oleh Mikki'
''
'Selamat mencoba')
ParentFont = False
ReadOnly = True
TabOrder = 22
end
object Timer1: TTimer
Enabled = False
Interval = 100
OnTimer = Timer1Timer
Left = 528
Top = 288
end
end
Left = 161
Top = 119
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'Calculator : Direct Manipulation Style'
ClientHeight = 326
ClientWidth = 522
Color = clGradientInactiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Image1: TImage
Left = 0
Top = 0
Width = 522
Height = 313
Align = alClient
object Label1: TLabel
Left = 16
Top = 56
Width = 96
Height = 20
Alignment = taRightJustify
Caption = 'Operand - 1'
Color = clInactiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
Transparent = True
end
object Label2: TLabel
Left = 40
Top = 80
Width = 72
Height = 20
Alignment = taRightJustify
Caption = 'Operator'
Color = clInactiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
Transparent = True
end
object Label3: TLabel
Left = 16
Top = 104
Width = 96
Height = 20
Alignment = taRightJustify
Caption = 'Operand - 2'
Color = clInactiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
Transparent = True
end
object Label4: TLabel
Left = 0
Top = 0
Width = 125
Height = 13
Caption = 'Dibuat oleh Mikki'
Color = clActiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = False
ParentFont = False
Transparent = True
Visible = False
end
object Bevel1: TBevel
Left = 132
Top = 131
Width = 40
Height = 166
Style = bsRaised
end
object Bevel2: TBevel
Left = 12
Top = 131
Width = 120
Height = 166
Style = bsRaised
end
object Label5: TLabel
Left = 0
Top = 313
Width = 522
Height = 13
Align = alBottom
Alignment = taCenter
Caption = 'Dibuat oleh Teddy Marcus'
Color = clActiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = False
ParentFont = False
end
object EdtHasil: TEdit
Left = 16
Top = 24
Width = 217
Height = 28
BevelKind = bkFlat
BorderStyle = bsNone
Color = clGradientActiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
ReadOnly = True
TabOrder = 0
end
object Button1: TButton
Left = 16
Top = 216
Width = 33
Height = 33
Caption = '1'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
OnClick = Button1Click
end
object Button2: TButton
Left = 56
Top = 216
Width = 33
Height = 33
Caption = '2'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
OnClick = Button2Click
end
object Button3: TButton
Left = 96
Top = 216
Width = 33
Height = 33
Caption = '3'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
OnClick = Button3Click
end
object Button4: TButton
Left = 16
Top = 176
Width = 33
Height = 33
Caption = '4'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
OnClick = Button4Click
end
object Button5: TButton
Left = 56
Top = 176
Width = 33
Height = 33
Caption = '5'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 5
OnClick = Button5Click
end
object Button6: TButton
Left = 96
Top = 176
Width = 33
Height = 33
Caption = '6'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 6
OnClick = Button6Click
end
object Button7: TButton
Left = 16
Top = 136
Width = 33
Height = 33
Caption = '7'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 7
OnClick = Button7Click
end
object Button8: TButton
Left = 56
Top = 136
Width = 33
Height = 33
Caption = '8'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 8
OnClick = Button8Click
end
object Button9: TButton
Left = 96
Top = 136
Width = 33
Height = 33
Caption = '9'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 9
OnClick = Button9Click
end
object Button10: TButton
Left = 16
Top = 256
Width = 73
Height = 33
Caption = '0'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 10
OnClick = Button10Click
end
object Button11: TButton
Left = 136
Top = 136
Width = 33
Height = 33
Caption = '/'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 11
OnClick = Button11Click
end
object Button12: TButton
Left = 136
Top = 176
Width = 33
Height = 33
Caption = '*'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 12
OnClick = Button12Click
end
object Button13: TButton
Left = 136
Top = 216
Width = 33
Height = 33
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 13
OnClick = Button13Click
end
object Button14: TButton
Left = 136
Top = 256
Width = 33
Height = 33
Caption = '+'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 14
OnClick = Button14Click
end
object Button15: TButton
Left = 96
Top = 256
Width = 33
Height = 33
Caption = '.'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 15
OnClick = Button15Click
end
object EdtOp1: TEdit
Left = 120
Top = 56
Width = 113
Height = 21
Color = clGradientInactiveCaption
ReadOnly = True
TabOrder = 16
OnChange = EdtOp1Change
end
object EdtOp2: TEdit
Left = 120
Top = 104
Width = 113
Height = 21
Color = clGradientInactiveCaption
ReadOnly = True
TabOrder = 17
OnChange = EdtOp2Change
end
object EdtOp: TEdit
Left = 120
Top = 80
Width = 113
Height = 21
Color = clMoneyGreen
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ReadOnly = True
TabOrder = 18
OnChange = EdtOpChange
end
object Button16: TButton
Left = 176
Top = 256
Width = 33
Height = 33
Caption = '='
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 19
OnClick = Button16Click
end
object Button17: TButton
Left = 176
Top = 136
Width = 33
Height = 33
Caption = 'C'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 20
OnClick = Button17Click
end
object btnDetil: TButton
Left = 220
Top = 275
Width = 33
Height = 14
Caption = '>>'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 21
OnClick = btnDetilClick
end
object Memo1: TMemo
Left = 267
Top = 15
Width = 249
Height = 274
Alignment = taCenter
Color = clNavy
Font.Charset = ANSI_CHARSET
Font.Color = clSilver
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
Lines.Strings = (
'Program Calculator Versi M.3'
''
'Dibuat oleh Mikki'
''
'Selamat mencoba')
ParentFont = False
ReadOnly = True
TabOrder = 22
end
object Timer1: TTimer
Enabled = False
Interval = 100
OnTimer = Timer1Timer
Left = 528
Top = 288
end
end
0 komentar
Post a Comment