UnitMain.dfm 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. object FormMain: TFormMain
  2. Left = 0
  3. Top = 0
  4. Caption = 'HoverZoom example'
  5. ClientHeight = 416
  6. ClientWidth = 572
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -12
  11. Font.Name = 'Segoe UI'
  12. Font.Style = []
  13. OnCreate = FormCreate
  14. DesignSize = (
  15. 572
  16. 416)
  17. TextHeight = 15
  18. object Image: TImage32
  19. Left = 16
  20. Top = 132
  21. Width = 537
  22. Height = 249
  23. Cursor = crCross
  24. Anchors = [akLeft, akTop, akRight, akBottom]
  25. Bitmap.DrawMode = dmBlend
  26. Bitmap.ResamplerClassName = 'TNearestResampler'
  27. BitmapAlign = baCustom
  28. Scale = 1.000000000000000000
  29. ScaleMode = smScale
  30. Background.CheckersStyle = bcsMedium
  31. Background.FillStyle = bfsCheckers
  32. TabOrder = 4
  33. TabStop = True
  34. OnMouseMove = ImageMouseMove
  35. OnMouseLeave = ImageMouseLeave
  36. OnResize = ImageResize
  37. OnScaleChange = ImageScaleChange
  38. end
  39. object CheckBoxLayer: TCheckBox
  40. Left = 16
  41. Top = 85
  42. Width = 301
  43. Height = 17
  44. Action = ActionViewLayer
  45. TabOrder = 3
  46. end
  47. object RadioButtonSmall: TRadioButton
  48. Left = 16
  49. Top = 8
  50. Width = 221
  51. Height = 17
  52. Action = ActionImageSmall
  53. TabOrder = 0
  54. TabStop = True
  55. end
  56. object RadioButtonLarge: TRadioButton
  57. Left = 16
  58. Top = 31
  59. Width = 221
  60. Height = 17
  61. Action = ActionImageLarge
  62. TabOrder = 1
  63. end
  64. object RadioButtonCustom: TRadioButton
  65. Left = 16
  66. Top = 56
  67. Width = 537
  68. Height = 17
  69. Action = ActionImageCustom
  70. TabOrder = 2
  71. OnDblClick = RadioButtonCustomDblClick
  72. end
  73. object StatusBar: TStatusBar
  74. Left = 0
  75. Top = 397
  76. Width = 572
  77. Height = 19
  78. Panels = <>
  79. SimplePanel = True
  80. ExplicitLeft = 84
  81. ExplicitTop = 408
  82. ExplicitWidth = 0
  83. end
  84. object CheckBoxAnimate: TCheckBox
  85. Left = 16
  86. Top = 108
  87. Width = 301
  88. Height = 17
  89. Action = ActionAnimate
  90. State = cbChecked
  91. TabOrder = 6
  92. end
  93. object ActionList: TActionList
  94. Left = 360
  95. Top = 20
  96. object ActionViewLayer: TAction
  97. AutoCheck = True
  98. Caption = '&Display unscaled bitmap in a semi-transparent layer'
  99. OnExecute = ActionViewLayerExecute
  100. OnUpdate = ActionViewLayerUpdate
  101. end
  102. object ActionImageSmall: TAction
  103. AutoCheck = True
  104. Caption = '&Small image (initial scale = 1)'
  105. Checked = True
  106. GroupIndex = 1
  107. OnExecute = ActionImageSmallExecute
  108. end
  109. object ActionImageLarge: TAction
  110. AutoCheck = True
  111. Caption = '&Large image (initial scale < 1)'
  112. GroupIndex = 1
  113. OnExecute = ActionImageLargeExecute
  114. end
  115. object ActionImageCustom: TAction
  116. AutoCheck = True
  117. Caption = '&Custom...'
  118. GroupIndex = 1
  119. OnExecute = ActionImageCustomExecute
  120. end
  121. object ActionAnimate: TAction
  122. AutoCheck = True
  123. Caption = 'Animated zoom'
  124. Checked = True
  125. OnExecute = ActionAnimateExecute
  126. end
  127. end
  128. object TimerZoom: TTimer
  129. Enabled = False
  130. Interval = 50
  131. OnTimer = TimerZoomTimer
  132. Left = 280
  133. Top = 212
  134. end
  135. end