object FormCadastroPatrimonio: TFormCadastroPatrimonio
  Left = 0
  Top = 0
  BorderIcons = [biSystemMenu, biMaximize]
  BorderStyle = bsDialog
  Caption = 'SGP - CADASTRO PATRIMONIO'
  ClientHeight = 373
  ClientWidth = 692
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  Icon.Data = {
    [encoded data, 159360 characters]
    FFFFFFE3FFFFFFFFFFFFFFFFFF80}
  KeyPreview = True
  OldCreateOrder = False
  Position = poDesktopCenter
  OnClose = FormClose
  OnCreate = FormCreate
  OnKeyPress = FormKeyPress
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object PnlPadrao: TPanel
    Left = 0
    Top = 41
    Width = 692
    Height = 48
    Align = alTop
    Caption = 'CADASTRO DE PATRIM'#212'NIO'
    Font.Charset = ANSI_CHARSET
    Font.Color = clRed
    Font.Height = -21
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 0
  end
  object Panel1: TPanel
    Left = 0
    Top = 89
    Width = 692
    Height = 284
    Align = alClient
    TabOrder = 1
    object Label1: TLabel
      Left = 16
      Top = 8
      Width = 41
      Height = 13
      Caption = 'CODIGO'
    end
    object Label2: TLabel
      Left = 98
      Top = 6
      Width = 111
      Height = 13
      Caption = 'NUMERO PATRIMONIO'
    end
    object Label3: TLabel
      Left = 329
      Top = 8
      Width = 33
      Height = 13
      Caption = 'SETOR'
    end
    object dbid: TDBText
      Left = 16
      Top = 27
      Width = 65
      Height = 17
      Alignment = taRightJustify
      DataField = 'ID'
      DataSource = ds_patrimonio
    end
    object Label5: TLabel
      Left = 223
      Top = 6
      Width = 27
      Height = 13
      Caption = 'DATA'
    end
    object Label4: TLabel
      Left = 98
      Top = 48
      Width = 59
      Height = 13
      Caption = 'DESCRICAO'
    end
    object Label6: TLabel
      Left = 537
      Top = 8
      Width = 40
      Height = 13
      Caption = 'ESTADO'
    end
    object Label7: TLabel
      Left = 537
      Top = 48
      Width = 21
      Height = 13
      Caption = 'QTD'
    end
    object Panel2: TPanel
      Left = 1
      Top = 109
      Width = 690
      Height = 43
      Align = alBottom
      Color = clHotLight
      ParentBackground = False
      TabOrder = 6
      object Label20: TLabel
        Left = 7
        Top = 16
        Width = 116
        Height = 16
        Caption = 'Digite para Localizar'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWhite
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Editbusca: TEdit
        Left = 129
        Top = 11
        Width = 300
        Height = 21
        CharCase = ecUpperCase
        TabOrder = 0
        OnChange = EditbuscaChange
      end
    end
    object DBGrid1: TDBGrid
      Left = 1
      Top = 152
      Width = 690
      Height = 131
      Align = alBottom
      DataSource = ds_patrimonio
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
      TabOrder = 7
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Tahoma'
      TitleFont.Style = []
      Columns = <
        item
          Expanded = False
          FieldName = 'NUM_PATRIMONIO'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'DESCRICAO'
          Width = 300
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'SETOR'
          Width = 150
          Visible = True
        end>
    end
    object dbnumpatrimonio: TDBEdit
      Left = 98
      Top = 23
      Width = 119
      Height = 21
      DataField = 'NUM_PATRIMONIO'
      DataSource = ds_patrimonio
      TabOrder = 0
    end
    object dbsetor: TDBEdit
      Left = 327
      Top = 23
      Width = 202
      Height = 21
      CharCase = ecUpperCase
      DataField = 'SETOR'
      DataSource = ds_patrimonio
      TabOrder = 2
    end
    object dbdata: TDBEdit
      Left = 223
      Top = 23
      Width = 98
      Height = 21
      DataField = 'DATA'
      DataSource = ds_patrimonio
      TabOrder = 1
    end
    object dbdescricao: TDBEdit
      Left = 98
      Top = 63
      Width = 431
      Height = 21
      CharCase = ecUpperCase
      DataField = 'DESCRICAO'
      DataSource = ds_patrimonio
      TabOrder = 4
    end
    object dbestado: TDBEdit
      Left = 535
      Top = 23
      Width = 138
      Height = 21
      CharCase = ecUpperCase
      DataField = 'ESTADO'
      DataSource = ds_patrimonio
      TabOrder = 3
    end
    object dbqtd: TDBEdit
      Left = 535
      Top = 63
      Width = 138
      Height = 21
      DataField = 'QTD'
      DataSource = ds_patrimonio
      TabOrder = 5
    end
  end
  object Panel6: TPanel
    Left = 0
    Top = 0
    Width = 692
    Height = 41
    Align = alTop
    ParentBackground = False
    TabOrder = 2
    object bntnovo: TBitBtn
      Left = 6
      Top = 3
      Width = 90
      Height = 35
      Cursor = crHandPoint
      Hint = 'Novo'
      Caption = 'Novo'
      Glyph.Data = {
        EE000000424DEE000000000000007600000028000000100000000F0000000100
        04000000000078000000130B0000130B00001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888800000
        000088888880FFFFFFF088888880F00F00F088888880FFFFFFF088888880F00F
        00F088888880FFFFFFF088888884444444448800008444444444880BB0888888
        8888000BB000888888880BBBBBB0888888880BBBBBB088888888000BB0008888
        8888880BB088888888888800008888888888}
      ParentShowHint = False
      ShowHint = False
      TabOrder = 0
      OnClick = bntnovoClick
    end
    object bntgravar: TBitBtn
      Left = 95
      Top = 3
      Width = 90
      Height = 35
      Cursor = crHandPoint
      Hint = 'Salvar'
      Caption = 'Salvar'
      Glyph.Data = {
        66030000424D6603000000000000360000002800000010000000110000000100
        18000000000030030000C30E0000C30E00000000000000000000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000000000007F7F7F0000007F7F
        7F7F7F7F000000000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBF000000000000BFBFBF000000BFBFBFBFBFBF000000000000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF000000000000BFBFBFBFBFBFBFBF
        BFBFBFBF000000000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBF000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        00000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000FFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFF000000000000FFFFFF000000000000FFFFFF000000000000BF
        BFBF000000FF0000FF0000FF00000000FFFF0000FF0000000000000000FFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBF0000FF0000
        FF0000FFBFBFBFBFBFBF000000FFFFFF000000000000000000000000FFFFFF00
        0000FFFFFF0000000000FF0000FF0000FF0000FF0000FFBFBFBF000000FFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000
        FF0000FF0000FF0000FF000000FFFFFF000000000000FFFFFF00000000000000
        0000000000000000BFBFBF0000FF0000FF0000FFBFBFBFBFBFBF000000FFFFFF
        FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000BFBFBFBFBFBF0000FF0000
        FF0000FFBFBFBFBFBFBF000000FFFFFF000000BFBFBFFFFFFF000000FFFFFF00
        0000BFBFBFBFBFBF7F7F7F0000FF0000FF0000FFBFBFBFBFBFBF000000FFFFFF
        FFFFFFFFFFFFFFFFFF000000000000BFBFBF0000FF0000FF0000FF0000FF0000
        FFBFBFBFBFBFBFBFBFBF000000000000000000000000000000000000BFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBF}
      ParentShowHint = False
      ShowHint = False
      TabOrder = 1
      OnClick = bntgravarClick
    end
    object bntexcluir: TBitBtn
      Left = 184
      Top = 3
      Width = 90
      Height = 35
      Cursor = crHandPoint
      Hint = 'Apagar'
      Caption = 'Apagar'
      Glyph.Data = {
        B2050000424DB205000000000000360400002800000012000000130000000100
        0800000000007C010000C30E0000C30E00000001000000000000000000007B00
        0000BD000000FF0000007B7B000000FF0000FFFF000000315A0008427300084A
        730000007B007B007B00084A7B0008527B0021527B00007B7B007B7B7B00004A
        840008528400105284002963840008528C00085A8C00185A8C0018638C002963
        8C0008529400185A9400296B9400316B94002973940031739400085A9C001863
        9C0018739C0029739C0031739C0031849C00005AA5002173A5003973A500297B
        A500186BAD00106BB500317BB5002984B5004A8CB500086BBD000073BD001073
        BD001873BD00217BBD004284BD00318CBD004A8CBD005294BD005A9CBD00BDBD
        BD001073C600007BC600217BC600428CC6004A8CC6005A9CC6000084CE000884
        CE00398CCE005A9CCE00639CCE001884D6002184D600088CD600108CD6004294
        D600399CD6004A9CD600529CD6005A9CD6005AA5D60063ADD6001884DE002184
        DE00188CDE001094DE001894DE003194DE00299CDE004AA5DE005AA5DE004AB5
        DE00189CE700219CE700429CE7005AA5E7005AADE70063ADE7006BB5E70021A5
        EF0029A5EF0031A5EF0063B5EF006BBDEF0029ADF70031ADF7006BBDF7000000
        FF00FF00FF0031B5FF0039B5FF0042B5FF0039BDFF0042BDFF0042C6FF004AC6
        FF006BC6FF004ACEFF0052CEFF0052D6FF005ADEFF0063E7FF0000FFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00393939393939
        3939393939393939393939690000396939393939393939393939393939396939
        0000396969393910101010101010101010693939000039696969000000000000
        0000000069693939000039396969007879797978797979696939393900003939
        3969697903030303030379691039393900003939396969697978797979786969
        1039393900003939393969696903030369696900103939390000393939390069
        6969797869697900103939390000393939390079036969696903790010393939
        0000393939390079796969696978790010393939000039393939007903696969
        6900000010393939000039393939007869697900696979001039393900003939
        3939006969697900696969693939393900003939396969697978790079003969
        6939393900003969696969000000000000393939696939390000396969693939
        3939393939393939393969390000393939393939393939393939393939393969
        00003939393939393939393939393939393939390000}
      ParentShowHint = False
      ShowHint = False
      TabOrder = 2
      OnClick = bntexcluirClick
    end
    object bntcancelar: TBitBtn
      Left = 273
      Top = 3
      Width = 90
      Height = 35
      Cursor = crHandPoint
      Hint = 'Cancelar'
      Caption = 'Cancela'
      Glyph.Data = {
        42010000424D4201000000000000760000002800000011000000110000000100
        040000000000CC000000CE0E0000C40E00001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777778888887
        777770000000777885555558877770000000778555DDDD555877700000007D55
        DD7777555587700000007D5577777855558770000000D55877778555D5587000
        0000D5877778555D7D5870000000D587778555D77D5870000000D58778555D77
        7D5870000000D5878555D7777D5870000000D558555D7777D558700000007D55
        55D77777D587700000007D555877778555877000000077D55588885558777000
        0000777DD555555DD7777000000077777DDDDDD7777770000000777777777777
        777770000000}
      ParentShowHint = False
      ShowHint = False
      TabOrder = 3
      OnClick = bntcancelarClick
    end
    object bnteditar: TBitBtn
      Left = 362
      Top = 3
      Width = 90
      Height = 35
      Cursor = crHandPoint
      Hint = 'Editar'
      Caption = 'Alterar'
      Glyph.Data = {
        42010000424D4201000000000000760000002800000011000000110000000100
        040000000000CC00000000000000000000001000000010000000000000000000
        BF0000BF000000BFBF00BF000000BF00BF00BFBF0000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
        7777700000007777700000000000700000007777707777777770700000007777
        7070000700707000000077777077777777707000000077777070000700707000
        000074777070FF0777707000000074477070000700707000000074F470777777
        77707000000044FF400000000000700000004FFFF00000000000700000004F44
        4666F4777777700000004FFFFFFFF4777777700000004F444444F47777777000
        00004FFFFFFFF477777770000000444444444477777770000000777777777777
        777770000000}
      ParentShowHint = False
      ShowHint = False
      TabOrder = 4
      OnClick = bnteditarClick
    end
    object bntsair: TBitBtn
      Left = 452
      Top = 3
      Width = 90
      Height = 35
      Cursor = crHandPoint
      Hint = 'Sair'
      Caption = 'Sair'
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000120B0000120B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00330000000000
        03333377777777777F333301BBBBBBBB033333773F3333337F3333011BBBBBBB
        0333337F73F333337F33330111BBBBBB0333337F373F33337F333301110BBBBB
        0333337F337F33337F333301110BBBBB0333337F337F33337F333301110BBBBB
        0333337F337F33337F333301110BBBBB0333337F337F33337F333301110BBBBB
        0333337F337F33337F333301110BBBBB0333337F337FF3337F33330111B0BBBB
        0333337F337733337F333301110BBBBB0333337F337F33337F333301110BBBBB
        0333337F3F7F33337F333301E10BBBBB0333337F7F7F33337F333301EE0BBBBB
        0333337F777FFFFF7F3333000000000003333377777777777333}
      NumGlyphs = 2
      ParentShowHint = False
      ShowHint = False
      TabOrder = 5
      OnClick = bntsairClick
    end
  end
  object IIPadrao: TImageList
    Left = 120
    Top = 40
    Bitmap = {
      [encoded data, 25664 characters]
      000000000000}
  end
  object SP_GEN_PATRIMONIO: TSQLStoredProc
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Precision = 4
        Name = 'ID'
        ParamType = ptOutput
        Size = 4
      end>
    SQLConnection = DM.conexao
    StoredProcName = 'SP_GEN_PRESIDENTE_ID'
    Left = 224
    Top = 40
  end
  object ds_patrimonio: TDataSource
    DataSet = DM.cds_patrimonio
    Left = 40
    Top = 40
  end
end
