Source

asprovider / Demo / TestMain.dfm

Full commit
object MainForm: TMainForm
  Left = 0
  Top = 0
  Caption = 'AS Provider Demo App'
  ClientHeight = 337
  ClientWidth = 635
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object Button1: TButton
    Left = 535
    Top = 41
    Width = 75
    Height = 25
    Caption = 'Open'
    TabOrder = 0
    OnClick = Button1Click
  end
  object DBGrid1: TDBGrid
    Left = 40
    Top = 32
    Width = 489
    Height = 120
    DataSource = DataSource1
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
  end
  object cxDBNavigator1: TcxDBNavigator
    Left = 40
    Top = 168
    Width = 255
    Height = 25
    DataSource = DataSource1
    TabOrder = 2
  end
  object Button2: TButton
    Left = 535
    Top = 72
    Width = 75
    Height = 25
    Caption = 'Apply'
    TabOrder = 3
    OnClick = Button2Click
  end
  object ClientDataSet1: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'ASComponentProvider1'
    Left = 480
    Top = 168
  end
  object DataSource1: TDataSource
    DataSet = ClientDataSet1
    Left = 408
    Top = 168
  end
  object ASProvider1: TASProvider
    Left = 560
    Top = 168
  end
  object ASComponentProvider1: TASComponentProvider
    Active = False
    ProvidedComponent = ASProvider1
    FieldDefs = <
      item
        Name = 'Data'
        Attributes = [faReadonly]
        DataType = ftVariant
      end
      item
        Name = 'ComponentCount'
        Attributes = [faReadonly]
        DataType = ftInteger
      end
      item
        Name = 'ComponentIndex'
        DataType = ftInteger
      end
      item
        Name = 'DesignInfo'
        DataType = ftInteger
      end
      item
        Name = 'Name'
        DataType = ftWideString
        Size = 20
      end
      item
        Name = 'Tag'
        DataType = ftInteger
      end>
    Left = 488
    Top = 248
  end
end