inherited frmCadCentroCusto: TfrmCadCentroCusto
  Caption = 'frmCadCentroCusto'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Paginas: TPageControl
    ActivePage = Manutencao
    TabOrder = 1
    inherited Acesso: TTabSheet
      ExplicitLeft = 4
      ExplicitTop = 6
      ExplicitWidth = 622
      ExplicitHeight = 406
      inherited Panel3: TPanel
        TabOrder = 2
      end
      inherited pnGrade: TPanel
        TabOrder = 0
        inherited grdPesquisa: TIB_Grid
          TabOrder = 1
        end
        inherited pnlOpcoesPesquisa: TPanel
          TabOrder = 0
          inherited rdbPalavra: TRadioButton
            TabOrder = 2
          end
          inherited rdbPesquisaInicio: TRadioButton
            TabOrder = 0
          end
        end
      end
    end
    inherited Manutencao: TTabSheet
      object btnPesquisaEmpresa: TSpeedButton [0]
        Tag = 1
        Left = 489
        Top = 22
        Width = 23
        Height = 22
        Glyph.Data = {
          36050000424D3605000000000000360400002800000010000000100000000100
          08000000000000010000320B0000320B000000010000000100005A6B7300AD7B
          73004A637B00EFBD8400B58C8C00A5948C00C6948C00B59C8C00BD9C8C00F7BD
          8C00BD949400C6949400CE949400C69C9400CEAD9400F7CE9400C6A59C00CEA5
          9C00D6A59C00C6AD9C00CEAD9C00D6AD9C00F7CE9C00F7D69C004A7BA500CEAD
          A500D6B5A500DEBDA500F7D6A500DEBDAD00DEC6AD00E7C6AD00FFDEAD00FFE7
          AD00CEB5B500F7DEB500F7E7B500FFE7B500FFEFB500D6BDBD00DED6BD00E7DE
          BD00FFE7BD006B9CC600EFDEC600FFEFC600FFF7C600F7E7CE00FFF7CE00F7EF
          D600F7F7D600FFF7D600FFFFD6002184DE00F7F7DE00FFFFDE001884E700188C
          E700FFFFE700188CEF00218CEF00B5D6EF00F7F7EF00FFF7EF00FFFFEF00FFFF
          F700FF00FF004AB5FF0052B5FF0052BDFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0042020A424242
          424242424242424242422B39180B42424242424242424242424243443C180B42
          4242424242424242424242444438180B42424242424242424242424244433918
          0A424242424242424242424242444335004201101A114242424242424242453D
          05072F343434291942424242424242221A2D34343437403E0442424242424206
          231C303437404146284242424242421B210F30373A414140310D42424242421F
          20032434373A3A37321342424242421D25030F2D37373737311042424242420D
          2D2D1C162430333429424242424242421E463F0F0316252E0842424242424242
          4227312D21252314424242424242424242420E141B1B42424242}
        Visible = False
        OnClick = btnPesquisaEmpresaClick
      end
      object btnNovaEmpresa: TSpeedButton [1]
        Tag = 1
        Left = 512
        Top = 22
        Width = 23
        Height = 22
        Glyph.Data = {
          36050000424D3605000000000000360400002800000010000000100000000100
          08000000000000010000130B0000130B000000010000000100002184290039B5
          520063A563006BAD840094DE8C00FF00FF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
          FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00050505050505
          0505050505050505050505050505050503000003050505050505050505050505
          0204010005050505050505050505050502040100050505050505050505050505
          0204010005050505050505050505050502040100050505050505050300000000
          0004010000000000030505020101010101010101010101010005050204040404
          0404010404040404000505030202020202040100000000000305050505050505
          0204010005050505050505050505050502040100050505050505050505050505
          0204010005050505050505050505050502040100050505050505050505050505
          0302020305050505050505050505050505050505050505050505}
        Visible = False
        OnClick = btnNovaEmpresaClick
      end
      inherited Panel6: TPanel
        TabOrder = 3
        inherited Panel7: TPanel
          TabOrder = 0
          inherited BtAnterior: TBitBtn
            TabOrder = 1
          end
          inherited BtCancelar: TBitBtn
            TabOrder = 2
          end
        end
        inherited btnVoltar: TBitBtn
          TabOrder = 1
        end
        inherited btnEditar2: TBitBtn
          TabOrder = 3
        end
      end
      object GroupBox2: TGroupBox
        Left = 4
        Top = 3
        Width = 112
        Height = 41
        Caption = 'C'#211'DIGO'
        TabOrder = 0
        object lblCOD_EVENTO_STATUS: TIB_Text
          Left = 4
          Top = 16
          Width = 85
          Height = 16
          DataField = 'COD_CENTRO_CUSTO'
          DataSource = DsPrincipal
          BiDiMode = bdLeftToRight
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentBiDiMode = False
          ParentFont = False
        end
      end
      object edtDescricao: TIB_Edit
        Left = 4
        Top = 79
        Width = 517
        Height = 24
        AutoLabel.Caption = 'Descri'#231#227'o'
        AutoLabel.Kind = albTop
        AutoLabel.Margin = 0
        DataField = 'DESCRICAO'
        DataSource = DsPrincipal
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
        ParentShowHint = False
        ShowHint = False
        ParentBackground = False
        TabOrder = 2
      end
      object dbGrupo: TIB_LookupCombo
        Left = 128
        Top = 22
        Width = 361
        Height = 21
        AutoLabel.Caption = 'Grupo de Custo'
        AutoLabel.Kind = albTop
        DataSource = dtGrupo_Custo
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
        Visible = False
        ParentBackground = False
        TabOrder = 1
        DisplayField = 'DESCRICAO'
        IndicateTitles = True
        ShowButton = True
      end
    end
  end
  inherited Panel1: TPanel
    TabOrder = 0
    inherited Label2: TLabel
      Width = 162
      Caption = 'Centro de Custos'
      ExplicitWidth = 162
    end
  end
  inherited TbPrincipal: TIB_Query
    FieldsCharCase.Strings = (
      'DESCRICAO=UPPER')
    FieldsDisplayLabel.Strings = (
      'DESCRICAO=Descri'#231#227'o'
      'COD_CENTRO_CUSTO=C'#243'digo')
    FieldsDisplayWidth.Strings = (
      'DESCRICAO=427')
    FieldsVisible.Strings = (
      'COD_CENTRO_CUSTO=TRUE'
      'DESCRICAO=TRUE'
      'COD_GRUPO_CUSTO=FALSE')
    SQL.Strings = (
      'SELECT COD_CENTRO_CUSTO'
      '     , DESCRICAO'
      '     , COD_GRUPO_CUSTO'
      'FROM CENTRO_CUSTO')
    DeleteSQL.Strings = (
      'DELETE FROM CENTRO_CUSTO CENTRO_CUSTO'
      'WHERE'
      '   COD_CENTRO_CUSTO = :OLD_COD_CENTRO_CUSTO')
    EditSQL.Strings = (
      'UPDATE CENTRO_CUSTO CENTRO_CUSTO SET'
      '   CENTRO_CUSTO.COD_CENTRO_CUSTO = :COD_CENTRO_CUSTO, /*PK*/'
      '   CENTRO_CUSTO.DESCRICAO = :DESCRICAO,'
      '   CENTRO_CUSTO.COD_GRUPO_CUSTO = :COD_GRUPO_CUSTO'
      'WHERE'
      '   COD_CENTRO_CUSTO = :OLD_COD_CENTRO_CUSTO')
    InsertSQL.Strings = (
      'INSERT INTO CENTRO_CUSTO('
      '   COD_CENTRO_CUSTO, /*PK*/'
      '   DESCRICAO,'
      '   COD_GRUPO_CUSTO)'
      'VALUES ('
      '   :COD_CENTRO_CUSTO,'
      '   :DESCRICAO,'
      '   :COD_GRUPO_CUSTO)')
    OrderingItemNo = 2
    OrderingItems.Strings = (
      'COD_CENTRO_CUSTO=COD_CENTRO_CUSTO;COD_CENTRO_CUSTO DESC'
      'DESCRICAO=DESCRICAO;DESCRICAO DESC')
    OrderingLinks.Strings = (
      'COD_CENTRO_CUSTO=1'
      'DESCRICAO=2')
    SearchingLinks.Strings = (
      'COD_CENTRO_CUSTO=COD_CENTRO_CUSTO'
      'DESCRICAO=DESCRICAO')
  end
  inherited ImagensPadrao: TImageList
    Bitmap = {
      [encoded data, 8768 characters]
      000000000000}
  end
  object qrGrupo_Custo: TIB_Query
    FieldsCharCase.Strings = (
      'COD_GRUPO_CUSTO=UPPER'
      'DESCRICAO=UPPER'
      'COD_CONTA=UPPER'
      'DEBITO_CREDITO=UPPER')
    FieldsDisplayLabel.Strings = (
      'COD_GRUPO_CUSTO=C'#243'digo'
      'DESCRICAO=Grupo de Custo'
      'COD_CONTA=Conta Vinculada'
      'DEBITO_CREDITO=D'#233'bito/Cr'#233'dito')
    FieldsVisible.Strings = (
      'COD_GRUPO_CUSTO=TRUE'
      'DESCRICAO=TRUE'
      'COD_CONTA=TRUE'
      'DEBITO_CREDITO=TRUE')
    IB_Connection = Dados.IB_SysTrans
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM GRUPO_CUSTO')
    KeyLinks.Strings = (
      'GRUPO_CUSTO.COD_GRUPO_CUSTO')
    OrderingItemNo = 2
    OrderingItems.Strings = (
      'COD_GRUPO_CUSTO=COD_GRUPO_CUSTO;COD_GRUPO_CUSTO DESC'
      'DESCRICAO=DESCRICAO;DESCRICAO DESC'
      'COD_CONTA=COD_CONTA;COD_CONTA DESC'
      'DEBITO_CREDITO=DEBITO_CREDITO;DEBITO_CREDITO DESC')
    OrderingLinks.Strings = (
      'COD_GRUPO_CUSTO=1'
      'DESCRICAO=2'
      'COD_CONTA=3'
      'DEBITO_CREDITO=4')
    SearchingLinks.Strings = (
      'COD_GRUPO_CUSTO=COD_GRUPO_CUSTO'
      'DESCRICAO=DESCRICAO'
      'COD_CONTA=COD_CONTA'
      'DEBITO_CREDITO=DEBITO_CREDITO')
    Left = 322
  end
  object dtGrupo_Custo: TIB_DataSource
    Dataset = qrGrupo_Custo
    Left = 322
    Top = 28
  end
end
