inherited frmCNAESegmento: TfrmCNAESegmento
  Left = 460
  Top = 248
  Caption = 'frmCNAESegmento'
  ClientHeight = 502
  ClientWidth = 631
  OldCreateOrder = True
  ExplicitTop = -73
  ExplicitWidth = 637
  ExplicitHeight = 531
  PixelsPerInch = 96
  TextHeight = 16
  inherited Paginas: TPageControl
    Width = 631
    Height = 464
    ExplicitWidth = 631
    ExplicitHeight = 464
    inherited Acesso: TTabSheet
      ExplicitLeft = 4
      ExplicitTop = 6
      ExplicitWidth = 623
      ExplicitHeight = 454
      inherited Panel2: TPanel
        Left = 532
        Height = 417
        ExplicitLeft = 532
        ExplicitHeight = 417
      end
      inherited Panel3: TPanel
        Top = 417
        Width = 623
        ExplicitTop = 417
        ExplicitWidth = 623
      end
      inherited pnGrade: TPanel
        Width = 532
        Height = 417
        ExplicitWidth = 532
        ExplicitHeight = 417
        inherited grdPesquisa: TIB_Grid
          Width = 532
          Height = 401
          ExplicitWidth = 532
          ExplicitHeight = 401
        end
        inherited pnlOpcoesPesquisa: TPanel
          Width = 532
          ExplicitWidth = 532
        end
      end
    end
    inherited Manutencao: TTabSheet
      ExplicitLeft = 4
      ExplicitTop = 6
      ExplicitWidth = 623
      ExplicitHeight = 454
      inherited Panel6: TPanel
        Top = 418
        Width = 623
        TabOrder = 1
        ExplicitTop = 418
        ExplicitWidth = 623
        inherited Linhabotao: TShape
          Width = 621
          ExplicitWidth = 621
        end
        inherited Panel7: TPanel
          Left = 295
          ExplicitLeft = 295
          inherited BtAnterior: TBitBtn [0]
          end
          inherited BtProximo: TBitBtn [1]
          end
          inherited BtCancelar: TBitBtn [2]
          end
          inherited BtGravar: TBitBtn [3]
            Top = 3
            ExplicitTop = 3
          end
        end
        inherited btnBtInserir2: TBitBtn
          TabOrder = 5
        end
        object btnImprimir: TBitBtn
          Left = 305
          Top = 3
          Width = 88
          Height = 30
          Cursor = crHandPoint
          Hint = 'Imprimir'
          BiDiMode = bdRightToLeft
          Caption = '&Imprimir'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Verdana'
          Font.Style = [fsBold]
          Glyph.Data = {
            76060000424D7606000000000000360400002800000018000000180000000100
            08000000000040020000F30E0000F30E00000001000000010000421821004221
            21004A2121004A29290031313100523131005A31310039393100313939003939
            390042D642004A4A4A007B4A5200844A52004A525200525252005A525200524A
            5A008C4A5A0052525A0063636300736363007B6363006B6B6300736B63007B6B
            63006B5A6B00845A6B007B636B0084636B006B6B6B00846B6B008C6B6B008C63
            7300846B73008C6B73009C6B7300737373007B737300847373007B947300A56B
            7B00A5737B00737B7B007B7B7B00847B7B009C7B7B00A57B7B00AD7B7B007B84
            7B00A5847B0084CE7B008CFF7B00847B84008C7B8400947B8400BD7B84007384
            840084848400A5848400AD848400B58484009C848C00848C8C008C8C8C00948C
            8C009C8C8C00BD8C8C00C68C8C0084948C00BD8C9400C68C9400849494008C94
            9400949494009C9494008C9C940094DE9400AD7B9C008C849C008C949C009494
            9C00AD949C008C9C9C00949C9C009C9C9C00A59C9C00B5A59C009CEF9C00A57B
            A500A5A5A500ADA5A500B5A5A500AD9CAD009CA5AD00BDA5AD00A5ADAD00ADAD
            AD00B5ADAD00ADB5B500B5B5B500B5B5BD00BDB5BD00B5BDBD00BDBDBD00BDD6
            BD00C6C6C600CEC6C600C6C6CE00C6CECE00CECECE00D6CECE00CED6CE00D6CE
            D600CED6D600D6D6D600DED6D600D6DEDE00DEDEDE00DEE7DE00E7D6E700DEE7
            E700E7E7E700EFE7E700E7EFE700E7EFEF00EFEFEF00F7EFEF00EFF7F700F7F7
            F700FF00FF00F7FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00828282828282
            82828282828282828282828282828282828282828282828282825A5555555555
            55555A828282828282828282828282825564737A7D7E7E7E7C76686256828282
            82828282828282820B2B7E816D676A6470846A260B658282828282828282820F
            0B1E7E81736B6F6A73846C170B0F648282828282821E140B0B3A81807671746F
            768472310B0B0B1E828282821E0B0B0B0B3F7972543F40645E7E6D3A0B0B0B0B
            1782822C0B102D0F0B1E556163636464605A51170B13390E0B1E820F142D3A14
            140B0B0B0B0B0B0B0B0B0B0B14116411110B820F355448534C49544A54403145
            4C4954504F6434531A09820F55686661412D221F1F1D1B1C1920213759536464
            5D0B821461755B23243B2F434447464643442A3C29162869640B82256472360D
            383C2F2F30302E2E302F323C3D124E7861148240646E370C0D060B0B0B0B0B0B
            0B0B0B060D0C3E6C613A8268646E52000B03151616151516161618050902566E
            64618282646F5F010B578484848484848484845C0B025C6E648282826863644B
            2741848484848484848483411C42676368828282827D7A7E7B737A8383838484
            848075737A7F7B7C82828282828282828277768184846E646464647282828282
            8282828282828282826F7683847E64646B6A6E73828282828282828282828282
            826A6E818176646484847E6E828282828282828282828282826A6E81816E6476
            847A6E82828282828282828282828282826864737364647E7A6E828282828282
            8282828282828282826A61646464686E6E828282828282828282}
          ParentBiDiMode = False
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          Spacing = 2
          TabOrder = 4
          OnClick = btnImprimirClick
        end
      end
      object dbDescricao: TIB_Edit
        Left = 8
        Top = 63
        Width = 601
        Height = 24
        AutoLabel.Caption = 'Descri'#231#227'o do Segmento'
        AutoLabel.Kind = albTop
        DataField = 'DESCRICAO'
        DataSource = DsPrincipal
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
        ParentBackground = False
        TabOrder = 0
      end
      object grp1: TGroupBox
        Left = 8
        Top = 0
        Width = 97
        Height = 41
        Caption = 'C'#211'DIGO'
        TabOrder = 2
        object dbCodigo: TIB_Text
          Left = 4
          Top = 16
          Width = 77
          Height = 16
          DataField = 'COD_SEGMENTO'
          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 pgCNAEs: TPageControl
        Left = 0
        Top = 88
        Width = 609
        Height = 315
        ActivePage = tabEditaCNAEs
        Align = alCustom
        TabOrder = 3
        object tabVisualizaCidades: TTabSheet
          Caption = 'Visualiza'
          ImageIndex = 1
          TabVisible = False
          object pnlManutencaoVencimento: TPanel
            Left = 0
            Top = 0
            Width = 41
            Height = 305
            Align = alLeft
            Alignment = taLeftJustify
            Color = clWhite
            TabOrder = 0
            object btnExcluiCNAE: TBitBtn
              Tag = 1
              Left = 6
              Top = 34
              Width = 30
              Height = 28
              Hint = 'Retirar CNAE'#39's'
              Glyph.Data = {
                F6060000424DF606000000000000360000002800000018000000180000000100
                180000000000C0060000120B0000120B00000000000000000000FF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FF00006D00006D00006D00006D00006D00006D
                00006D00006D00006D00006D00006D00006D00006D00006D00006D00006DFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00006D7C8EDA0003E10003E100
                03E10003DC0003D50002CF0002C80002C20002BA0001B50001AE0001A70001A2
                00019A00019A00006DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00006DE1E1
                E10003E10003E00003E00003DC0003D50002CF0002C80002C20002BA0001B500
                01AE0001A70001A200019A00029700006DFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FF00006DE1E1E10001DD0001DC0001DC0001DC0001D50001CF0001C80001
                C30001BB0001B60000B00000A80000A300009D00019800006DFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FF00006DE1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1
                E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1A6B0DAA6B0DA7C8EDA7C8EDA7C8EDA0000
                6DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00006D00006D00006D00
                006D00006D00006D00006D00006D00006D00006D00006D00006D00006D00006D
                00006D00006DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
              ParentShowHint = False
              ShowHint = True
              TabOrder = 0
              Visible = False
              OnClick = btnExcluiCNAEClick
            end
            object btnNovoCNAE: TBitBtn
              Tag = 1
              Left = 6
              Top = 7
              Width = 30
              Height = 28
              Hint = 'Acrescentar CNAE'#39's'
              Glyph.Data = {
                F6060000424DF606000000000000360000002800000018000000180000000100
                180000000000C0060000120B0000120B00000000000000000000FF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FF097711097711097711097711FF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF06770CFFFFFF0EA41B0EA51C0EA51C097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF06770CFFFFFF0EA41B0EA5
                1C0EA51C097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF06770C
                FFFFFF0EA41B0EA51C0EA51C097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FF06770DFFFFFF0EA41B0EA51C0EA51C097711FF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF08780EFFFFFF10A61F0EA51B0EA51B097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF08780EFFFFFF17AB2911A8
                2111A821097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FF09771109771109771109771109771109771108780E
                FFFFFF1DB13218AD2A18AD2A08780E0977110977110977110977110977110977
                11FF00FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF52DD7E4CD87546D46D41
                CF663CCC5F36C65529BA4324B53B1FB13319AC2B1BB02F17AC2812A8210EA51C
                0EA51B0EA51B0EA51B097711FF00FFFF00FFFF00FFFF00FF097711FFFFFF52DD
                7E4CD87546D46D41CF663CCC5F36C65530BE4C2BBA4426B63D20B2361BB02F17
                AC2812A8210EA51C0EA51B0EA51C0EA51C097711FF00FFFF00FFFF00FFFF00FF
                097711FFFFFF56E08551DA7C4CD67546D26D42CE663CC95E37C55631C04F2CBC
                4827B74022B4381EB03219AC2B13A8230FA41D0EA31B0EA41B097711FF00FFFF
                00FFFF00FFFF00FF097711FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                FFFFFF38C55833C1512EBE4AFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                FF097711FF00FFFF00FFFF00FFFF00FFFF00FF09771109771109771109771109
                771109771108780EFFFFFF3FCC633BC95C3BC95C08780E097711097711097711
                097711097711097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF46D36E42D06842D068097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF4DD87749D5
                7149D571097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF097711
                FFFFFF54DD8150DB7B50DB7B097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FF097711FFFFFF59E28957E1855EE890097711FF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF5AE38A5CE58C5EE890097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF097711FFFFFFFFFFFFFFFF
                FFFFFFFF097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                097711097711097711097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
              ParentShowHint = False
              ShowHint = True
              TabOrder = 1
              Visible = False
              OnClick = btnNovoCNAEClick
            end
          end
          object grdCNAEs: TIB_Grid
            Left = 41
            Top = 0
            Width = 560
            Height = 305
            CustomGlyphsSupplied = []
            DataSource = dtCNAESegmento
            Align = alClient
            ParentBackground = False
            TabOrder = 1
          end
        end
        object tabEditaCNAEs: TTabSheet
          Caption = 'tabEditaCNAEs'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ImageIndex = 1
          ParentFont = False
          TabVisible = False
          object edtCNAECodigo: TLabeledEdit
            Left = 11
            Top = 47
            Width = 121
            Height = 24
            EditLabel.Width = 35
            EditLabel.Height = 16
            EditLabel.Caption = 'CNAE'
            TabOrder = 0
          end
          object btnPesquisa: TBitBtn
            Tag = 2
            Left = 136
            Top = 47
            Width = 25
            Height = 25
            Hint = 'Pesquisar Tipo de conta'
            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}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 1
            TabStop = False
            OnClick = btnPesquisaClick
          end
          object btn2: TBitBtn
            Tag = 2
            Left = 160
            Top = 47
            Width = 25
            Height = 25
            Hint = 'Cadastrar Novo Vendedor'
            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}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 2
            TabStop = False
            OnClick = btn2Click
          end
          object IB_Edit1: TIB_Edit
            Left = 11
            Top = 101
            Width = 569
            Height = 24
            AutoLabel.Kind = albTop
            DataField = 'ATIVIDADE_PRINCIPAL'
            DataSource = dsrCnae
            ParentBackground = False
            TabOrder = 3
          end
          object btnSalvaItem: TBitBtn
            Left = 11
            Top = 154
            Width = 150
            Height = 30
            Hint = 'Confirma a a'#231#227'o'
            Caption = 'Incluir'
            Glyph.Data = {
              76060000424D7606000000000000360400002800000018000000180000000100
              08000000000040020000D30E0000D30E00000001000000010000104A1000108C
              180039CE3900428C420042C6420042CE420042D642004AD64A005AD65A005ADE
              5A0063AD630063DE630073DE73006BE7730073E7730073DE7B0073E77B0084EF
              8C0094F79C00A5F7A500BDFFBD00FF00FF00FFFFFF00FFFFFF00FFFFFF00FFFF
              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
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00151515151515
              1515151515151515151515151515151515151515151515151515151515151515
              1515151515151515151515151515151515151500000000151515151515151515
              15151515151515151515000102020A0315151515151515151515151515151515
              1501010202020A01151515151515151515151515151515151501020505020A01
              1515151515151515151515151515151501020C0B0807040A0115151515151515
              1515151515151503010C0C0C0C0B080201151515151515151515151515150301
              0C0F0C0C020C0C0C0201151515151515151515151501031212110C0201020C0C
              0C0115151515151515151515010C12121212020115010C0C0C0C011515151515
              151515150A0C12120C0103151503020F110C020315151515151515150A020C02
              011515151515010C12120C0A1515151515151515150A0A0A1515151515151501
              1212120C01151515151515151515151515151515151515150A1212120C031515
              15151515151515151515151515151515150A121211020A151515151515151515
              1515151515151515151502121312020A15151515151515151515151515151515
              15151502141412020A1515151515151515151515151515151515151502141412
              0A151515151515151515151515151515151515151502140C0A15151515151515
              1515151515151515151515151515020A15151515151515151515151515151515
              1515151515151515151515151515151515151515151515151515151515151515
              1515151515151515151515151515151515151515151515151515}
            TabOrder = 4
            OnClick = btnSalvaItemClick
          end
          object btnCancelaItem: TBitBtn
            Left = 164
            Top = 154
            Width = 150
            Height = 30
            Cursor = crHandPoint
            Hint = 
              'Clique aqui para cancelar a inclus'#227'o ou altera'#231#227'o dessas informa' +
              #231#245'es'
            Caption = '&Cancelar'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -12
            Font.Name = 'Verdana'
            Font.Style = []
            Glyph.Data = {
              76060000424D7606000000000000360400002800000018000000180000000100
              08000000000040020000D30E0000D30E0000000100000001000000427300004A
              7B0029637B00105284006B848C00105A9400216B9400738C940008639C004A6B
              9C00086BA500007BAD00297BAD00739CAD005294BD001884C6008CB5C600ADB5
              CE00298CD60010A5D60042A5DE00CECEDE00D6D6DE0084BDE700ADCEE700C6D6
              E700CEDEEF00E7E7EF00FF00FF004ABDFF006BC6FF008CD6FF00A5DEFF00B5E7
              FF00CEF7FF00DEF7FF00E7FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              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
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF001C1C1C1C1C1C
              1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C
              1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C
              1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C
              1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C
              1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C031C1C1C1C
              1C1C1C1C0E09090909090909090909001C1C1C03001C1C1C1C1C1C1C08181818
              181515151510001C1C1C1C1C00031C1C1C1C1C1C0A2323232424242419031C1C
              1C1C1C1C0303091C1C1C1C1C0B22222222222319031C1C1C1C1C1C1C090D031C
              1C1C1C1C0B212121222218031C1C1C1C1C1C1C1C090D0C1C1C1C1C1C0F212121
              21212002091C1C1C1C1C1C1C02100C1C1C1C1C1C132020202020202002021C1C
              1C1C1C0D0321121C1C1C1C1C131F1F17171F1F201F0E01020D0D0605171F0B1C
              1C1C1C1C131E1E0F0B171F1F1F1F1F0E0E0E17202014171C1C1C1C1C131D131C
              1C0F141E1E1F1F1F1F1F1F1F14141C1C1C1C1C1C13131C1C1C1C140F141D1E1E
              1E1D1413141C1C1C1C1C1C1C131C1C1C1C1C1C1C141413131314141C1C1C1C1C
              1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C
              1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C
              1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C
              1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C}
            ParentFont = False
            ParentShowHint = False
            ShowHint = True
            TabOrder = 5
            OnClick = btnCancelaItemClick
          end
        end
      end
    end
  end
  inherited Panel1: TPanel
    Width = 631
    ExplicitWidth = 631
    inherited Label2: TLabel
      Width = 240
      Caption = 'Atividades por Segmento'
      ExplicitWidth = 240
    end
    inherited Shape1: TShape
      Width = 631
      ExplicitWidth = 631
    end
    inherited imgAcao: TImage
      Left = 271
      ExplicitLeft = 271
    end
  end
  inherited TbPrincipal: TIB_Query
    FieldsCharCase.Strings = (
      'COD_SEGMENTO=UPPER'
      'DESCRICAO=UPPER')
    FieldsDisplayLabel.Strings = (
      'COD_SEGMENTO=C'#243'digo'
      'DESCRICAO=Segmento')
    FieldsDisplayWidth.Strings = (
      'DESCRICAO=453')
    FieldsVisible.Strings = (
      'COD_SEGMENTO=TRUE'
      'DESCRICAO=TRUE')
    SQL.Strings = (
      'SELECT *'
      'FROM SEGMENTOS')
    DeleteSQL.Strings = (
      'DELETE FROM SEGMENTOS'
      'WHERE'
      '   COD_SEGMENTO = :OLD_COD_SEGMENTO')
    EditSQL.Strings = (
      'UPDATE SEGMENTOS SET'
      '   COD_SEGMENTO = :COD_SEGMENTO, /*PK*/'
      '   DESCRICAO = :DESCRICAO'
      'WHERE'
      '   COD_SEGMENTO = :OLD_COD_SEGMENTO')
    InsertSQL.Strings = (
      'INSERT INTO SEGMENTOS('
      '   COD_SEGMENTO, /*PK*/'
      '   DESCRICAO)'
      'VALUES ('
      '   :COD_SEGMENTO,'
      '   :DESCRICAO)')
    OrderingItems.Strings = (
      'COD_SEGMENTO=COD_SEGMENTO;COD_SEGMENTO DESC'
      'DESCRICAO=DESCRICAO;DESCRICAO DESC')
    OrderingLinks.Strings = (
      'COD_SEGMENTO=1'
      'DESCRICAO=2')
    SearchingLinks.Strings = (
      'COD_SEGMENTO=COD_SEGMENTO'
      'DESCRICAO=DESCRICAO')
  end
  inherited ImagensPadrao: TImageList
    Bitmap = {
      [encoded data, 8768 characters]
      000000000000}
  end
  object qryCNAESegmento: TIB_Query
    FieldsCharCase.Strings = (
      'COD_CNAE=UPPER'
      'ATIVIDADE_PRINCIPAL=UPPER')
    FieldsDisplayLabel.Strings = (
      'COD_CNAE=CNAE'
      'ATIVIDADE_PRINCIPAL=Atividade')
    FieldsDisplayWidth.Strings = (
      'ATIVIDADE_PRINCIPAL=455')
    FieldsVisible.Strings = (
      'CODIGO=FALSE'
      'COD_SEGMENTO=FALSE'
      'COD_CNAE=TRUE'
      'ATIVIDADE_PRINCIPAL=TRUE')
    IB_Connection = Dados.IB_Conexao
    SQL.Strings = (
      'SELECT SEGMENTOS_CNAE.*,cnae.atividade_principal'
      'FROM SEGMENTOS_CNAE'
      'LEFT JOIN cnae ON (SEGMENTOS_CNAE.cod_cnae = cnae.cod_cnae )'
      'WHERE COD_SEGMENTO=:varSEGMENTO'
      '')
    DeleteSQL.Strings = (
      'DELETE FROM SEGMENTOS_CNAE'
      'WHERE'
      '   CODIGO = :OLD_CODIGO')
    EditSQL.Strings = (
      'UPDATE SEGMENTOS_CNAE SET'
      '   CODIGO = :CODIGO, /*PK*/'
      '   COD_SEGMENTO = :COD_SEGMENTO,'
      '   COD_CNAE = :COD_CNAE'
      'WHERE'
      '   CODIGO = :OLD_CODIGO')
    InsertSQL.Strings = (
      'INSERT INTO SEGMENTOS_CNAE('
      '   CODIGO, /*PK*/'
      '   COD_SEGMENTO,'
      '   COD_CNAE)'
      'VALUES ('
      '   :CODIGO,'
      '   :COD_SEGMENTO,'
      '   :COD_CNAE)')
    OrderingItemNo = 2
    OrderingItems.Strings = (
      'COD_CNAE=SEGMENTOS_CNAE.COD_CNAE;SEGMENTOS_CNAE.COD_CNAE DESC'
      
        'ATIVIDADE_PRINCIPAL=CNAE.ATIVIDADE_PRINCIPAL;CNAE.ATIVIDADE_PRIN' +
        'CIPAL DESC')
    OrderingLinks.Strings = (
      'COD_CNAE=1'
      'ATIVIDADE_PRINCIPAL=2')
    SearchingLinks.Strings = (
      'COD_CNAE=COD_CNAE'
      'ATIVIDADE_PRINCIPAL=ATIVIDADE_PRINCIPAL')
    Left = 316
    Top = 84
  end
  object dtCNAESegmento: TIB_DataSource
    Dataset = qryCNAESegmento
    Left = 348
    Top = 84
  end
  object ppDBPipeline1: TppDBPipeline
    DataSource = ds1
    UserName = 'DBPipeline1'
    Left = 516
    Top = 84
    object ppDBPipeline1ppField1: TppField
      Alignment = taRightJustify
      FieldAlias = 'COD_SEGMENTO'
      FieldName = 'COD_SEGMENTO'
      FieldLength = 0
      DataType = dtInteger
      DisplayWidth = 10
      Position = 0
    end
    object ppDBPipeline1ppField2: TppField
      FieldAlias = 'DESCRICAO'
      FieldName = 'DESCRICAO'
      FieldLength = 80
      DisplayWidth = 80
      Position = 1
    end
    object ppDBPipeline1ppField3: TppField
      Alignment = taRightJustify
      FieldAlias = 'CODIGO'
      FieldName = 'CODIGO'
      FieldLength = 0
      DataType = dtInteger
      DisplayWidth = 10
      Position = 2
    end
    object ppDBPipeline1ppField4: TppField
      FieldAlias = 'COD_CNAE'
      FieldName = 'COD_CNAE'
      FieldLength = 10
      DisplayWidth = 10
      Position = 3
    end
    object ppDBPipeline1ppField5: TppField
      FieldAlias = 'ATIVIDADE_PRINCIPAL'
      FieldName = 'ATIVIDADE_PRINCIPAL'
      FieldLength = 0
      DataType = dtMemo
      DisplayWidth = 10
      Position = 4
      Searchable = False
      Sortable = False
    end
  end
  object RelSegmentos: TppReport
    AutoStop = False
    DataPipeline = ppDBPipeline1
    PrinterSetup.BinName = 'Default'
    PrinterSetup.DocumentName = 'Report'
    PrinterSetup.Duplex = dpNone
    PrinterSetup.PaperName = 'A4'
    PrinterSetup.PrinterName = 'Default'
    PrinterSetup.SaveDeviceSettings = False
    PrinterSetup.mmMarginBottom = 6350
    PrinterSetup.mmMarginLeft = 6350
    PrinterSetup.mmMarginRight = 6350
    PrinterSetup.mmMarginTop = 6350
    PrinterSetup.mmPaperHeight = 297000
    PrinterSetup.mmPaperWidth = 210000
    PrinterSetup.PaperSize = 9
    ArchiveFileName = '($MyDocuments)\ReportArchive.raf'
    DeviceType = 'Screen'
    DefaultFileDeviceType = 'PDF'
    EmailSettings.ReportFormat = 'PDF'
    LanguageID = 'Default'
    OpenFile = False
    OutlineSettings.CreateNode = True
    OutlineSettings.CreatePageNodes = True
    OutlineSettings.Enabled = True
    OutlineSettings.Visible = True
    ThumbnailSettings.Enabled = True
    ThumbnailSettings.Visible = True
    ThumbnailSettings.DeadSpace = 30
    PDFSettings.EmbedFontOptions = [efUseSubset]
    PDFSettings.EncryptSettings.AllowCopy = True
    PDFSettings.EncryptSettings.AllowInteract = True
    PDFSettings.EncryptSettings.AllowModify = True
    PDFSettings.EncryptSettings.AllowPrint = True
    PDFSettings.EncryptSettings.AllowExtract = True
    PDFSettings.EncryptSettings.AllowAssemble = True
    PDFSettings.EncryptSettings.AllowQualityPrint = True
    PDFSettings.EncryptSettings.Enabled = False
    PDFSettings.EncryptSettings.KeyLength = kl40Bit
    PDFSettings.EncryptSettings.EncryptionType = etRC4
    PDFSettings.FontEncoding = feAnsi
    PDFSettings.ImageCompressionLevel = 25
    RTFSettings.DefaultFont.Charset = DEFAULT_CHARSET
    RTFSettings.DefaultFont.Color = clWindowText
    RTFSettings.DefaultFont.Height = -13
    RTFSettings.DefaultFont.Name = 'Arial'
    RTFSettings.DefaultFont.Style = []
    TextFileName = '($MyDocuments)\Report.pdf'
    TextSearchSettings.DefaultString = '<Texto a localizar>'
    TextSearchSettings.Enabled = True
    XLSSettings.AppName = 'ReportBuilder'
    XLSSettings.Author = 'ReportBuilder'
    XLSSettings.Subject = 'Report'
    XLSSettings.Title = 'Report'
    XLSSettings.WorksheetName = 'Report'
    Left = 548
    Top = 84
    Version = '17.02'
    mmColumnWidth = 0
    DataPipelineName = 'ppDBPipeline1'
    object ppHeaderBand1: TppHeaderBand
      Background.Brush.Style = bsClear
      mmBottomOffset = 0
      mmHeight = 13229
      mmPrintPosition = 0
      object ppLabel1: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'Label1'
        HyperlinkEnabled = False
        Caption = 'Segmento Empresarial'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Verdana'
        Font.Size = 12
        Font.Style = [fsBold]
        TextAlignment = taCentered
        Transparent = True
        mmHeight = 5122
        mmLeft = 72337
        mmTop = 7408
        mmWidth = 53763
        BandType = 0
        LayerName = Foreground
      end
    end
    object ppDetailBand1: TppDetailBand
      Background1.Brush.Style = bsClear
      Background2.Brush.Style = bsClear
      mmBottomOffset = 0
      mmHeight = 3440
      mmPrintPosition = 0
      object ppDBText3: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText3'
        HyperlinkEnabled = False
        DataField = 'COD_CNAE'
        DataPipeline = ppDBPipeline1
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Verdana'
        Font.Size = 8
        Font.Style = []
        TextAlignment = taRightJustified
        Transparent = True
        DataPipelineName = 'ppDBPipeline1'
        mmHeight = 3429
        mmLeft = 25929
        mmTop = 0
        mmWidth = 24871
        BandType = 4
        LayerName = Foreground
      end
      object ppDBText4: TppDBText
        DesignLayer = ppDesignLayer1
        UserName = 'DBText4'
        HyperlinkEnabled = False
        DataField = 'ATIVIDADE_PRINCIPAL'
        DataPipeline = ppDBPipeline1
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Verdana'
        Font.Size = 8
        Font.Style = []
        Transparent = True
        DataPipelineName = 'ppDBPipeline1'
        mmHeight = 3440
        mmLeft = 52388
        mmTop = 0
        mmWidth = 130969
        BandType = 4
        LayerName = Foreground
      end
    end
    object ppFooterBand1: TppFooterBand
      Background.Brush.Style = bsClear
      mmBottomOffset = 0
      mmHeight = 0
      mmPrintPosition = 0
    end
    object ppGroup1: TppGroup
      BreakName = 'DESCRICAO'
      DataPipeline = ppDBPipeline1
      GroupFileSettings.NewFile = False
      GroupFileSettings.EmailFile = False
      KeepTogether = True
      OutlineSettings.CreateNode = True
      StartOnOddPage = False
      UserName = 'Group1'
      mmNewColumnThreshold = 0
      mmNewPageThreshold = 0
      DataPipelineName = 'ppDBPipeline1'
      NewFile = False
      object ppGroupHeaderBand1: TppGroupHeaderBand
        Background.Brush.Style = bsClear
        mmBottomOffset = 0
        mmHeight = 7144
        mmPrintPosition = 0
        object ppShape1: TppShape
          DesignLayer = ppDesignLayer1
          UserName = 'Shape1'
          ParentWidth = True
          Shape = stRoundRect
          mmHeight = 5556
          mmLeft = 0
          mmTop = 1588
          mmWidth = 197380
          BandType = 3
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText1: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBText1'
          HyperlinkEnabled = False
          DataField = 'DESCRICAO'
          DataPipeline = ppDBPipeline1
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Verdana'
          Font.Size = 8
          Font.Style = [fsBold]
          Transparent = True
          DataPipelineName = 'ppDBPipeline1'
          mmHeight = 3429
          mmLeft = 24871
          mmTop = 2910
          mmWidth = 59531
          BandType = 3
          GroupNo = 0
          LayerName = Foreground
        end
        object ppDBText2: TppDBText
          DesignLayer = ppDesignLayer1
          UserName = 'DBText2'
          HyperlinkEnabled = False
          DataField = 'COD_SEGMENTO'
          DataPipeline = ppDBPipeline1
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Name = 'Verdana'
          Font.Size = 8
          Font.Style = [fsBold]
          Transparent = True
          DataPipelineName = 'ppDBPipeline1'
          mmHeight = 3387
          mmLeft = 5027
          mmTop = 2910
          mmWidth = 17198
          BandType = 3
          GroupNo = 0
          LayerName = Foreground
        end
      end
      object ppGroupFooterBand1: TppGroupFooterBand
        Background.Brush.Style = bsClear
        HideWhenOneDetail = False
        mmBottomOffset = 0
        mmHeight = 5027
        mmPrintPosition = 0
        object ppLine1: TppLine
          DesignLayer = ppDesignLayer1
          UserName = 'Line1'
          Weight = 0.750000000000000000
          mmHeight = 3969
          mmLeft = 14817
          mmTop = 2117
          mmWidth = 140759
          BandType = 5
          GroupNo = 0
          LayerName = Foreground
        end
      end
    end
    object ppDesignLayers1: TppDesignLayers
      object ppDesignLayer1: TppDesignLayer
        UserName = 'Foreground'
        LayerType = ltBanded
        Index = 0
      end
    end
    object ppParameterList1: TppParameterList
    end
  end
  object ds1: TDataSource
    DataSet = qrRelSegmentos
    Left = 484
    Top = 84
  end
  object qrRelSegmentos: TIBOQuery
    Params = <
      item
        DataType = ftInteger
        Name = 'varSEGMENTO'
        ParamType = ptInput
      end>
    Active = True
    IB_Connection = Dados.IB_Conexao
    PreparedEdits = True
    PreparedInserts = True
    RecordCountAccurate = True
    SQL.Strings = (
      
        'SELECT segmentos.cod_segmento, segmentos.descricao, SEGMENTOS_CN' +
        'AE.codigo, SEGMENTOS_CNAE.cod_cnae, cnae.atividade_principal'
      'FROM SEGMENTOS_CNAE'
      
        'left join segmentos on (SEGMENTOS_CNAE.cod_segmento = segmentos.' +
        'cod_segmento)'
      'LEFT JOIN cnae ON (SEGMENTOS_CNAE.cod_cnae = cnae.cod_cnae )'
      'WHERE SEGMENTOS_CNAE.COD_SEGMENTO=:varSEGMENTO'
      '')
    Left = 452
    Top = 84
  end
  object qrCnae: TIB_Query
    FieldsCharCase.Strings = (
      'COD_CNAE=UPPER'
      'ATIVIDADE_PRINCIPAL=UPPER')
    FieldsDisplayLabel.Strings = (
      'COD_CNAE=C'#243'digo'
      'ATIVIDADE_PRINCIPAL=Atividade Principal')
    FieldsDisplayWidth.Strings = (
      'ATIVIDADE_PRINCIPAL=465')
    FieldsEditMask.Strings = (
      'COD_CNAE=9999999;0')
    IB_Connection = Dados.IB_Conexao
    SQL.Strings = (
      'SELECT CNAE.COD_CNAE'
      '     , CNAE.ATIVIDADE_PRINCIPAL'
      'FROM CNAE')
    KeyLinks.Strings = (
      'CNAE.COD_CNAE')
    OrderingItemNo = 2
    OrderingItems.Strings = (
      'COD_CNAE=COD_CNAE;COD_CNAE DESC'
      'ATIVIDADE_PRINCIPAL=ATIVIDADE_PRINCIPAL;ATIVIDADE_PRINCIPAL DESC')
    OrderingLinks.Strings = (
      'COD_CNAE=1'
      'ATIVIDADE_PRINCIPAL=2')
    SearchingLinks.Strings = (
      'COD_CNAE=COD_CNAE'
      'ATIVIDADE_PRINCIPAL=ATIVIDADE_PRINCIPAL')
    Left = 447
  end
  object dsrCnae: TIB_DataSource
    Dataset = qrCnae
    Left = 447
    Top = 28
  end
end
