home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 August / VPR9708A.ISO / D3TRIAL / INSTALL / DATA.Z / MENUDEMO.DFM / MENUDEMO.txt
Text File  |  1997-03-21  |  4KB  |  173 lines

  1. object MenuForm: TMenuForm
  2.   Left = 180
  3.   Top = 233
  4.   Width = 696
  5.   Height = 480
  6.   Caption = 'MenuForm'
  7.   Font.Charset = DEFAULT_CHARSET
  8.   Font.Color = clWindowText
  9.   Font.Height = -11
  10.   Font.Name = 'MS Sans Serif'
  11.   Font.Style = []
  12.   Menu = MainMenu
  13.   Position = poDefaultPosOnly
  14.   ShowHint = True
  15.   Visible = True
  16.   PixelsPerInch = 96
  17.   TextHeight = 13
  18.   object DisplayPanel: TPanel
  19.     Left = 0
  20.     Top = 0
  21.     Width = 688
  22.     Height = 434
  23.     Align = alClient
  24.     BevelInner = bvLowered
  25.     BevelOuter = bvLowered
  26.     PopupMenu = PopupMenu
  27.     TabOrder = 0
  28.     OnResize = DisplayPanelResize
  29.     object DemoShape: TShape
  30.       Left = 120
  31.       Top = 8
  32.       Width = 193
  33.       Height = 217
  34.       Shape = stCircle
  35.     end
  36.   end
  37.   object MainMenu: TMainMenu
  38.     Left = 16
  39.     Top = 56
  40.     object Application1: TMenuItem
  41.       Caption = '&Application'
  42.       Hint = 'Simple command menu item'
  43.       object Exit1: TMenuItem
  44.         Caption = 'E&xit'
  45.         Hint = 'Close the application'
  46.         OnClick = Exit1Click
  47.       end
  48.     end
  49.     object Color1: TMenuItem
  50.       Caption = '&Color'
  51.       Hint = 'Submenus'
  52.       object Outline1: TMenuItem
  53.         Caption = '&Outline'
  54.         Hint = 'Adjust shape outline color'
  55.         object Randomize1: TMenuItem
  56.           Caption = '&Randomize'
  57.           Hint = 'Set shape outline to a random color'
  58.           OnClick = Randomize1Click
  59.         end
  60.         object Select1: TMenuItem
  61.           Caption = '&Select...'
  62.           Hint = 'Select shape outline color'
  63.           OnClick = Select1Click
  64.         end
  65.       end
  66.       object Inside1: TMenuItem
  67.         Caption = '&Inside'
  68.         Hint = 'Adjust shape inside color'
  69.         object Randomize2: TMenuItem
  70.           Caption = '&Randomize'
  71.           Hint = 'Set shape inside to a random color'
  72.           OnClick = Randomize2Click
  73.         end
  74.         object Select2: TMenuItem
  75.           Caption = '&Select...'
  76.           Hint = 'Select a color for the shape filling'
  77.           OnClick = Select2Click
  78.         end
  79.       end
  80.     end
  81.     object Shape1: TMenuItem
  82.       Caption = '&Shape'
  83.       GroupIndex = 1
  84.       Hint = 'Mutually-exclusive toggle group'
  85.       object Circle1: TMenuItem
  86.         Caption = '&Circle'
  87.         Checked = True
  88.         GroupIndex = 1
  89.         Hint = 'Make the shape a circle'
  90.         RadioItem = True
  91.         OnClick = Circle1Click
  92.       end
  93.       object Ellipse1: TMenuItem
  94.         Caption = '&Ellipse'
  95.         GroupIndex = 1
  96.         Hint = 'Make the shape an ellipse'
  97.         RadioItem = True
  98.         OnClick = Ellipse1Click
  99.       end
  100.       object Rectangle1: TMenuItem
  101.         Caption = '&Rectangle'
  102.         GroupIndex = 1
  103.         Hint = 'Make the shape a rectangle'
  104.         RadioItem = True
  105.         OnClick = Rectangle1Click
  106.       end
  107.       object Square1: TMenuItem
  108.         Caption = '&Square'
  109.         GroupIndex = 1
  110.         Hint = 'Make the shape a square'
  111.         RadioItem = True
  112.         OnClick = Square1Click
  113.       end
  114.     end
  115.     object Misc1: TMenuItem
  116.       Caption = '&Misc'
  117.       GroupIndex = 1
  118.       Hint = 
  119.         'Simple checkable menu items with a superfluous bar break in betw' +
  120.         'een'
  121.       object ThickOutline1: TMenuItem
  122.         Caption = '&Thick Outline'
  123.         Hint = 'Controls whether or not the outline is thick'
  124.         OnClick = ThickOutline1Click
  125.       end
  126.       object RoundedShape1: TMenuItem
  127.         Break = mbBarBreak
  128.         Caption = '&Rounded Shape'
  129.         Hint = 'Makes rectangle or square have rounded corners'
  130.         OnClick = RoundedShape1Click
  131.       end
  132.     end
  133.     object Help1: TMenuItem
  134.       Caption = '&Help'
  135.       GroupIndex = 1
  136.       Hint = 'Simple command menu item'
  137.       object About1: TMenuItem
  138.         Caption = '&About...'
  139.         Hint = 'Summons an About box'
  140.         OnClick = About1Click
  141.       end
  142.     end
  143.   end
  144.   object SolidColorDialog: TColorDialog
  145.     Ctl3D = True
  146.     Options = [cdSolidColor]
  147.     Left = 48
  148.     Top = 56
  149.   end
  150.   object AnyColorDialog: TColorDialog
  151.     Ctl3D = True
  152.     Options = [cdAnyColor]
  153.     Left = 80
  154.     Top = 56
  155.   end
  156.   object PopupMenu: TPopupMenu
  157.     Left = 16
  158.     Top = 88
  159.     object Random1: TMenuItem
  160.       Caption = 'Randomize &Shape'
  161.       OnClick = Random1Click
  162.     end
  163.     object RandomizeColors1: TMenuItem
  164.       Caption = 'Randomize &Colors'
  165.       OnClick = RandomizeColors1Click
  166.     end
  167.     object InvertColors1: TMenuItem
  168.       Caption = '&Invert Inside Color'
  169.       OnClick = InvertColors1Click
  170.     end
  171.   end
  172. end
  173.