home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 February / Chip_2003-02_cd1.bin / zkuste / delphi / kompon / d3456 / PICSHOW.ZIP / DBDemo / Main.dfm / Main.txt
Text File  |  2002-09-26  |  7KB  |  342 lines

  1. object MainForm: TMainForm
  2.   Left = 188
  3.   Top = 74
  4.   AutoScroll = False
  5.   Caption = 'TDBPicShow Demo'
  6.   ClientHeight = 473
  7.   ClientWidth = 511
  8.   Color = clBtnFace
  9.   Font.Charset = DEFAULT_CHARSET
  10.   Font.Color = clWindowText
  11.   Font.Height = -11
  12.   Font.Name = 'MS Sans Serif'
  13.   Font.Style = []
  14.   OldCreateOrder = True
  15.   Position = poScreenCenter
  16.   OnActivate = FormActivate
  17.   OnCreate = FormCreate
  18.   PixelsPerInch = 96
  19.   TextHeight = 13
  20.   object DBPicShow: TDBPicShow
  21.     Tag = 8
  22.     Left = 0
  23.     Top = 28
  24.     Width = 511
  25.     Height = 365
  26.     Hint = 'Double click here for the next image'
  27.     DataField = 'PicPicture'
  28.     DataSource = DataSource
  29.     Align = alClient
  30.     AutoSize = False
  31.     Center = True
  32.     Color = clGray
  33.     ParentColor = False
  34.     ParentShowHint = False
  35.     ShowHint = True
  36.     StretchFine = True
  37.     Style = 0
  38.     TabOrder = 4
  39.     OnComplete = DBPicShowComplete
  40.     OnCustomDraw = DBPicShowCustomDraw
  41.     OnDblClick = DBPicShowDblClick
  42.     OnProgress = DBPicShowProgress
  43.     OnAfterLoadPicture = DBPicShowAfterLoadPicture
  44.     OnBeforeLoadPicture = DBPicShowBeforeLoadPicture
  45.   end
  46.   object Panel1: TPanel
  47.     Left = 0
  48.     Top = 393
  49.     Width = 511
  50.     Height = 32
  51.     Align = alBottom
  52.     BorderStyle = bsSingle
  53.     Ctl3D = False
  54.     ParentCtl3D = False
  55.     ParentShowHint = False
  56.     ShowHint = True
  57.     TabOrder = 0
  58.     object Label1: TLabel
  59.       Left = 8
  60.       Top = 9
  61.       Width = 26
  62.       Height = 13
  63.       Caption = '&Style:'
  64.       FocusControl = Style
  65.     end
  66.     object Label2: TLabel
  67.       Left = 277
  68.       Top = 9
  69.       Width = 25
  70.       Height = 13
  71.       Caption = 'Ste&p:'
  72.       FocusControl = Step
  73.     end
  74.     object Bevel1: TBevel
  75.       Left = 269
  76.       Top = 2
  77.       Width = 2
  78.       Height = 26
  79.     end
  80.     object Bevel2: TBevel
  81.       Left = 424
  82.       Top = 2
  83.       Width = 2
  84.       Height = 26
  85.     end
  86.     object Label3: TLabel
  87.       Left = 349
  88.       Top = 9
  89.       Width = 30
  90.       Height = 13
  91.       Caption = '&Delay:'
  92.       FocusControl = Delay
  93.     end
  94.     object Step: TSpinEdit
  95.       Left = 306
  96.       Top = 4
  97.       Width = 37
  98.       Height = 22
  99.       Ctl3D = True
  100.       MaxLength = 3
  101.       MaxValue = 200
  102.       MinValue = 1
  103.       ParentCtl3D = False
  104.       TabOrder = 4
  105.       Value = 1
  106.       OnChange = StepChange
  107.     end
  108.     object Style: TSpinEdit
  109.       Left = 38
  110.       Top = 4
  111.       Width = 48
  112.       Height = 22
  113.       Ctl3D = True
  114.       MaxLength = 3
  115.       MaxValue = 0
  116.       MinValue = 0
  117.       ParentCtl3D = False
  118.       TabOrder = 0
  119.       Value = 0
  120.       OnChange = StyleChange
  121.     end
  122.     object Threaded: TCheckBox
  123.       Left = 435
  124.       Top = 7
  125.       Width = 66
  126.       Height = 17
  127.       Caption = '&Threaded'
  128.       TabOrder = 6
  129.       OnClick = ThreadedClick
  130.     end
  131.     object ManualStyle: TRadioButton
  132.       Left = 91
  133.       Top = 7
  134.       Width = 59
  135.       Height = 17
  136.       Hint = 
  137.         'When manual is checked, use scroll bar below to animate the imag' +
  138.         'e'
  139.       Caption = 'Manual'
  140.       TabOrder = 1
  141.       OnClick = ManualStyleClick
  142.     end
  143.     object TurnStyle: TRadioButton
  144.       Left = 154
  145.       Top = 7
  146.       Width = 44
  147.       Height = 17
  148.       Caption = 'Turn'
  149.       Checked = True
  150.       TabOrder = 2
  151.       TabStop = True
  152.       OnClick = ManualStyleClick
  153.     end
  154.     object RandomStyle: TRadioButton
  155.       Left = 203
  156.       Top = 7
  157.       Width = 59
  158.       Height = 17
  159.       Caption = 'Random'
  160.       TabOrder = 3
  161.       OnClick = ManualStyleClick
  162.     end
  163.     object Delay: TSpinEdit
  164.       Left = 382
  165.       Top = 4
  166.       Width = 37
  167.       Height = 22
  168.       Ctl3D = True
  169.       MaxValue = 0
  170.       MinValue = 0
  171.       ParentCtl3D = False
  172.       TabOrder = 5
  173.       Value = 1
  174.       OnChange = DelayChange
  175.     end
  176.   end
  177.   object Panel2: TPanel
  178.     Left = 0
  179.     Top = 0
  180.     Width = 511
  181.     Height = 28
  182.     Align = alTop
  183.     Alignment = taLeftJustify
  184.     BorderStyle = bsSingle
  185.     Ctl3D = False
  186.     ParentCtl3D = False
  187.     TabOrder = 1
  188.     object LoadPicBtn: TSpeedButton
  189.       Left = 374
  190.       Top = 2
  191.       Width = 131
  192.       Height = 22
  193.       Caption = 'Load image from file...'
  194.       OnClick = LoadPicBtnClick
  195.     end
  196.     object FreeMemory: TPanel
  197.       Left = 1
  198.       Top = 1
  199.       Width = 125
  200.       Height = 24
  201.       Hint = 'Free Memory'
  202.       BevelOuter = bvLowered
  203.       Caption = 'Free Memory'
  204.       ParentShowHint = False
  205.       ShowHint = False
  206.       TabOrder = 0
  207.     end
  208.     object DBNavigator1: TDBNavigator
  209.       Left = 129
  210.       Top = 1
  211.       Width = 234
  212.       Height = 24
  213.       DataSource = DataSource
  214.       VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
  215.       Flat = True
  216.       TabOrder = 1
  217.     end
  218.   end
  219.   object Panel3: TPanel
  220.     Left = 0
  221.     Top = 457
  222.     Width = 511
  223.     Height = 16
  224.     Align = alBottom
  225.     BevelOuter = bvNone
  226.     TabOrder = 3
  227.     object ScrollBar: TScrollBar
  228.       Left = 0
  229.       Top = 0
  230.       Width = 511
  231.       Height = 16
  232.       Hint = 'Manual Progress Controller'
  233.       Align = alBottom
  234.       Enabled = False
  235.       LargeChange = 10
  236.       PageSize = 0
  237.       ParentShowHint = False
  238.       ShowHint = True
  239.       TabOrder = 0
  240.       OnChange = ScrollBarChange
  241.     end
  242.   end
  243.   object Panel4: TPanel
  244.     Left = 0
  245.     Top = 425
  246.     Width = 511
  247.     Height = 32
  248.     Align = alBottom
  249.     BorderStyle = bsSingle
  250.     Ctl3D = False
  251.     ParentCtl3D = False
  252.     ParentShowHint = False
  253.     ShowHint = True
  254.     TabOrder = 2
  255.     object Label4: TLabel
  256.       Left = 132
  257.       Top = 9
  258.       Width = 217
  259.       Height = 13
  260.       Caption = 'Show the next image after                  seconds'
  261.       FocusControl = ShowPause
  262.     end
  263.     object Bevel3: TBevel
  264.       Left = 362
  265.       Top = 2
  266.       Width = 2
  267.       Height = 26
  268.     end
  269.     object Auto: TCheckBox
  270.       Left = 6
  271.       Top = 7
  272.       Width = 115
  273.       Height = 17
  274.       Caption = 'Auto Change Image'
  275.       TabOrder = 0
  276.       OnClick = AutoClick
  277.     end
  278.     object ShowPause: TSpinEdit
  279.       Left = 261
  280.       Top = 4
  281.       Width = 42
  282.       Height = 22
  283.       Ctl3D = True
  284.       MaxLength = 3
  285.       MaxValue = 600
  286.       MinValue = 1
  287.       ParentCtl3D = False
  288.       TabOrder = 1
  289.       Value = 2
  290.       OnChange = ShowPauseChange
  291.     end
  292.     object ClearOldImage: TCheckBox
  293.       Left = 375
  294.       Top = 7
  295.       Width = 125
  296.       Height = 17
  297.       Caption = 'Clear Previous Image '
  298.       TabOrder = 2
  299.     end
  300.   end
  301.   object Timer: TTimer
  302.     Enabled = False
  303.     Interval = 2000
  304.     OnTimer = TimerTimer
  305.     Left = 16
  306.     Top = 56
  307.   end
  308.   object ADOConnection: TADOConnection
  309.     ConnectionString = 
  310.       'Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data ' +
  311.       'Source=PicDB.mdb;Mode=Share Deny None;Extended Properties="";Loc' +
  312.       'ale Identifier=1033;Jet OLEDB:System database="";Jet OLEDB:Regis' +
  313.       'try Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engine Typ'
  314.     LoginPrompt = False
  315.     Provider = 'Microsoft.Jet.OLEDB.4.0'
  316.     Left = 16
  317.     Top = 88
  318.   end
  319.   object ADOTable: TADOTable
  320.     Connection = ADOConnection
  321.     CursorType = ctStatic
  322.     EnableBCD = False
  323.     TableName = 'PicTable'
  324.     Left = 44
  325.     Top = 88
  326.   end
  327.   object DataSource: TDataSource
  328.     DataSet = ADOTable
  329.     Left = 72
  330.     Top = 88
  331.   end
  332.   object OpenPictureDialog: TOpenPictureDialog
  333.     Filter = 
  334.       'All supported images (*.bmp;*.jpeg;*.jpg)|*.bmp;*.jpeg;*.jpg|Win' +
  335.       'dows bitmaps (*.bmp)|*.bmp|JPEG images (*.jpeg)|*.jpeg|JPG image' +
  336.       's (*.jpg)|*.jpg'
  337.     Title = 'Load Picture'
  338.     Left = 44
  339.     Top = 56
  340.   end
  341. end
  342.