object Form1: TForm1
  Left = 194
  Top = 113
  Width = 603
  Height = 470
  Caption = 'Form1'
  Color = clBtnFace
  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 = 8
    Top = 8
    Width = 280
    Height = 72
    AutoSize = True
    Picture.Data = {
      [encoded data, 61952 characters]
      FE95FFD9}
  end
  object Label1: TLabel
    Left = 326
    Top = 16
    Width = 242
    Height = 29
    Caption = 'Componente DBGrid'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -24
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label2: TLabel
    Left = 368
    Top = 51
    Width = 154
    Height = 20
    Caption = 'www.alberteije.com'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object DBGrid1: TDBGrid
    Left = 8
    Top = 88
    Width = 577
    Height = 193
    DataSource = DataSource1
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Arial'
    Font.Style = []
    ParentFont = False
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clRed
    TitleFont.Height = -13
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = [fsBold]
    OnKeyDown = DBGrid1KeyDown
    OnKeyPress = DBGrid1KeyPress
    OnTitleClick = DBGrid1TitleClick
    Columns = <
      item
        Expanded = False
        FieldName = 'CODVENDA'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CODPROD'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'QTDE'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'UNITARIO'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'TOTAL'
        Visible = True
      end>
  end
  object Button1: TButton
    Left = 8
    Top = 400
    Width = 75
    Height = 25
    Caption = 'Button1'
    TabOrder = 1
    OnClick = Button1Click
  end
  object DBGrid2: TDBGrid
    Left = 8
    Top = 288
    Width = 577
    Height = 105
    DataSource = DataSource2
    TabOrder = 2
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'CID_CODIGO'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CID_NOME'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CID_CEP'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CID_UF'
        Visible = True
      end>
  end
  object Edit1: TEdit
    Left = 192
    Top = 400
    Width = 121
    Height = 21
    TabOrder = 3
    Text = 'Edit1'
    OnKeyPress = Edit1KeyPress
  end
  object Query1: TQuery
    Active = True
    DatabaseName = 'Dados'
    RequestLive = True
    SQL.Strings = (
      'select * from dvenda')
    Left = 256
    Top = 120
    object Query1CODVENDA: TFloatField
      FieldName = 'CODVENDA'
      Origin = 'DADOS."dvenda.DB".CODVENDA'
    end
    object Query1CODPROD: TFloatField
      FieldName = 'CODPROD'
      Origin = 'DADOS."dvenda.DB".CODPROD'
    end
    object Query1QTDE: TFloatField
      FieldName = 'QTDE'
      Origin = 'DADOS."dvenda.DB".QTDE'
    end
    object Query1UNITARIO: TCurrencyField
      FieldName = 'UNITARIO'
      Origin = 'DADOS."dvenda.DB".UNITARIO'
      DisplayFormat = '##,##0.00'
      EditFormat = '##,##0.00'
      currency = False
    end
    object Query1TOTAL: TCurrencyField
      FieldName = 'TOTAL'
      Origin = 'DADOS."dvenda.DB".TOTAL'
    end
  end
  object DataSource1: TDataSource
    DataSet = Query1
    Left = 328
    Top = 120
  end
  object Query2: TQuery
    Active = True
    DatabaseName = 'Dados'
    RequestLive = True
    SQL.Strings = (
      'select * from cidade')
    Left = 272
    Top = 312
  end
  object DataSource2: TDataSource
    DataSet = Query2
    Left = 344
    Top = 312
  end
end
