home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Runimage / Delphi50 / Demos / Docking / MAIN.DFM / MAIN.txt
Encoding:
Text File  |  1999-08-11  |  6.4 KB  |  291 lines

  1. object MainForm: TMainForm
  2.   Left = 454
  3.   Top = 257
  4.   Width = 683
  5.   Height = 498
  6.   Caption = 'Docking Demo'
  7.   Color = clWindow
  8.   Font.Charset = DEFAULT_CHARSET
  9.   Font.Color = clWindowText
  10.   Font.Height = -13
  11.   Font.Name = 'MS Sans Serif'
  12.   Font.Style = []
  13.   Menu = MainMenu1
  14.   OldCreateOrder = False
  15.   OnCreate = FormCreate
  16.   PixelsPerInch = 120
  17.   TextHeight = 16
  18.   object VSplitter: TSplitter
  19.     Left = 0
  20.     Top = 58
  21.     Width = 5
  22.     Height = 384
  23.     Cursor = crHSplit
  24.     Visible = False
  25.   end
  26.   object HSplitter: TSplitter
  27.     Left = 0
  28.     Top = 442
  29.     Width = 675
  30.     Height = 5
  31.     Cursor = crVSplit
  32.     Align = alBottom
  33.     Visible = False
  34.   end
  35.   object CoolBar1: TCoolBar
  36.     Left = 0
  37.     Top = 0
  38.     Width = 675
  39.     Height = 58
  40.     AutoSize = True
  41.     BandMaximize = bmDblClick
  42.     Bands = <
  43.       item
  44.         Break = False
  45.         Control = ToolBar1
  46.         ImageIndex = -1
  47.         MinHeight = 26
  48.         Width = 671
  49.       end
  50.       item
  51.         Control = ToolBar2
  52.         ImageIndex = -1
  53.         MinHeight = 26
  54.         Width = 671
  55.       end>
  56.     Color = clMenu
  57.     DockSite = True
  58.     ParentColor = False
  59.     OnDockOver = CoolBar1DockOver
  60.     object ToolBar1: TToolBar
  61.       Left = 9
  62.       Top = 0
  63.       Width = 280
  64.       Height = 26
  65.       AutoSize = True
  66.       ButtonHeight = 24
  67.       ButtonWidth = 86
  68.       Caption = 'ToolBar1'
  69.       Constraints.MaxWidth = 280
  70.       DragKind = dkDock
  71.       DragMode = dmAutomatic
  72.       Flat = True
  73.       ShowCaptions = True
  74.       TabOrder = 0
  75.       Transparent = True
  76.       Wrapable = False
  77.       object ToolButton13: TToolButton
  78.         Left = 0
  79.         Top = 0
  80.         Action = ExitAction
  81.       end
  82.       object ToolButton16: TToolButton
  83.         Left = 86
  84.         Top = 0
  85.         Width = 14
  86.         Caption = 'ToolButton16'
  87.         ImageIndex = 7
  88.         Style = tbsSeparator
  89.       end
  90.       object btnToolBar1: TToolButton
  91.         Left = 100
  92.         Top = 0
  93.         Action = ViewToolBar1
  94.         Style = tbsCheck
  95.       end
  96.       object btnToolBar2: TToolButton
  97.         Left = 186
  98.         Top = 0
  99.         Action = ViewToolBar2
  100.         Style = tbsCheck
  101.       end
  102.     end
  103.     object ToolBar2: TToolBar
  104.       Left = 9
  105.       Top = 28
  106.       Width = 390
  107.       Height = 26
  108.       AutoSize = True
  109.       ButtonHeight = 24
  110.       ButtonWidth = 55
  111.       Caption = 'ToolBar2'
  112.       Constraints.MaxWidth = 390
  113.       DragKind = dkDock
  114.       DragMode = dmAutomatic
  115.       Flat = True
  116.       ShowCaptions = True
  117.       TabOrder = 1
  118.       Transparent = True
  119.       Wrapable = False
  120.       object ToolButton1: TToolButton
  121.         Left = 0
  122.         Top = 0
  123.         Action = ViewWhiteWindow
  124.       end
  125.       object ToolButton2: TToolButton
  126.         Left = 55
  127.         Top = 0
  128.         Action = ViewBlueWindow
  129.       end
  130.       object ToolButton3: TToolButton
  131.         Left = 110
  132.         Top = 0
  133.         Action = ViewGreenWindow
  134.       end
  135.       object ToolButton5: TToolButton
  136.         Left = 165
  137.         Top = 0
  138.         Action = ViewLimeWindow
  139.       end
  140.       object ToolButton6: TToolButton
  141.         Left = 220
  142.         Top = 0
  143.         Action = ViewPurpleWindow
  144.       end
  145.       object ToolButton7: TToolButton
  146.         Left = 275
  147.         Top = 0
  148.         Action = ViewRedWindow
  149.       end
  150.       object ToolButton4: TToolButton
  151.         Left = 330
  152.         Top = 0
  153.         Action = ViewTealWindow
  154.       end
  155.     end
  156.   end
  157.   object LeftDockPanel: TPanel
  158.     Left = 5
  159.     Top = 58
  160.     Width = 0
  161.     Height = 384
  162.     Align = alLeft
  163.     DockSite = True
  164.     TabOrder = 1
  165.     OnDockDrop = LeftDockPanelDockDrop
  166.     OnDockOver = LeftDockPanelDockOver
  167.     OnGetSiteInfo = LeftDockPanelGetSiteInfo
  168.     OnUnDock = LeftDockPanelUnDock
  169.   end
  170.   object BottomDockPanel: TPanel
  171.     Left = 0
  172.     Top = 442
  173.     Width = 675
  174.     Height = 0
  175.     Align = alBottom
  176.     DockSite = True
  177.     TabOrder = 2
  178.     OnDockDrop = LeftDockPanelDockDrop
  179.     OnDockOver = BottomDockPanelDockOver
  180.     OnGetSiteInfo = LeftDockPanelGetSiteInfo
  181.     OnUnDock = LeftDockPanelUnDock
  182.   end
  183.   object ActionList1: TActionList
  184.     Left = 136
  185.     Top = 80
  186.     object ViewToolBar1: TAction
  187.       Category = 'ViewToolBars'
  188.       Caption = 'ToolBar &1'
  189.       Checked = True
  190.       ImageIndex = 1
  191.       OnExecute = ViewToolBar1Execute
  192.     end
  193.     object ViewToolBar2: TAction
  194.       Category = 'ViewToolBars'
  195.       Caption = 'ToolBar &2'
  196.       Checked = True
  197.       ImageIndex = 2
  198.       OnExecute = ViewToolBar2Execute
  199.     end
  200.     object ViewWhiteWindow: TAction
  201.       Category = 'ViewWindows'
  202.       Caption = '&White'
  203.       Hint = 'View white window'
  204.       OnExecute = ViewWhiteWindowExecute
  205.     end
  206.     object ExitAction: TAction
  207.       Caption = 'E&xit'
  208.       OnExecute = ExitActionExecute
  209.     end
  210.     object ViewBlueWindow: TAction
  211.       Tag = 1
  212.       Category = 'ViewWindows'
  213.       Caption = '&Blue'
  214.       OnExecute = ViewWhiteWindowExecute
  215.     end
  216.     object ViewGreenWindow: TAction
  217.       Tag = 2
  218.       Category = 'ViewWindows'
  219.       Caption = '&Green'
  220.       OnExecute = ViewWhiteWindowExecute
  221.     end
  222.     object ViewRedWindow: TAction
  223.       Tag = 3
  224.       Category = 'ViewWindows'
  225.       Caption = '&Red'
  226.       OnExecute = ViewWhiteWindowExecute
  227.     end
  228.     object ViewTealWindow: TAction
  229.       Tag = 4
  230.       Category = 'ViewWindows'
  231.       Caption = '&Teal'
  232.       OnExecute = ViewWhiteWindowExecute
  233.     end
  234.     object ViewPurpleWindow: TAction
  235.       Tag = 5
  236.       Category = 'ViewWindows'
  237.       Caption = '&Purple'
  238.       OnExecute = ViewWhiteWindowExecute
  239.     end
  240.     object ViewLimeWindow: TAction
  241.       Tag = 6
  242.       Category = 'ViewWindows'
  243.       Caption = '&Lime'
  244.       OnExecute = ViewWhiteWindowExecute
  245.     end
  246.   end
  247.   object MainMenu1: TMainMenu
  248.     Left = 176
  249.     Top = 80
  250.     object File2: TMenuItem
  251.       Caption = '&File'
  252.       object Exit2: TMenuItem
  253.         Action = ExitAction
  254.       end
  255.     end
  256.     object View2: TMenuItem
  257.       Caption = '&View'
  258.       object ToolBar11: TMenuItem
  259.         Action = ViewToolBar1
  260.       end
  261.       object ToolBar21: TMenuItem
  262.         Action = ViewToolBar2
  263.       end
  264.       object N2: TMenuItem
  265.         Caption = '-'
  266.       end
  267.       object White1: TMenuItem
  268.         Action = ViewWhiteWindow
  269.       end
  270.       object Blue1: TMenuItem
  271.         Action = ViewBlueWindow
  272.       end
  273.       object Green1: TMenuItem
  274.         Action = ViewGreenWindow
  275.       end
  276.       object Lime1: TMenuItem
  277.         Action = ViewLimeWindow
  278.       end
  279.       object Purple1: TMenuItem
  280.         Action = ViewPurpleWindow
  281.       end
  282.       object Red1: TMenuItem
  283.         Action = ViewRedWindow
  284.       end
  285.       object Teal1: TMenuItem
  286.         Action = ViewTealWindow
  287.       end
  288.     end
  289.   end
  290. end
  291.