UnitMain.dfm 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. object FormMain: TFormMain
  2. Left = 0
  3. Top = 0
  4. Caption = 'Pan & Zoom example'
  5. ClientHeight = 514
  6. ClientWidth = 701
  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. OnResize = FormResize
  15. OnShow = FormShow
  16. TextHeight = 15
  17. object PanelLeft: TPanel
  18. Left = 0
  19. Top = 0
  20. Width = 353
  21. Height = 514
  22. Align = alLeft
  23. BevelKind = bkFlat
  24. BevelOuter = bvNone
  25. TabOrder = 0
  26. object Label1: TLabel
  27. Left = 0
  28. Top = 0
  29. Width = 349
  30. Height = 15
  31. Align = alTop
  32. Alignment = taCenter
  33. Caption = 'TImage32'
  34. ExplicitWidth = 52
  35. end
  36. object LabelImageZoom: TLabel
  37. Left = 0
  38. Top = 495
  39. Width = 349
  40. Height = 15
  41. Align = alBottom
  42. ShowAccelChar = False
  43. ExplicitWidth = 3
  44. end
  45. object Image: TImage32
  46. Left = 0
  47. Top = 15
  48. Width = 349
  49. Height = 480
  50. Align = alClient
  51. Bitmap.ResamplerClassName = 'TNearestResampler'
  52. BitmapAlign = baCustom
  53. Scale = 1.000000000000000000
  54. ScaleMode = smScale
  55. TabOrder = 0
  56. TabStop = True
  57. OnChange = ImageChange
  58. OnMouseDown = ImageMouseDown
  59. end
  60. end
  61. object PanelRight: TPanel
  62. Left = 353
  63. Top = 0
  64. Width = 348
  65. Height = 514
  66. Align = alClient
  67. BevelKind = bkFlat
  68. BevelOuter = bvNone
  69. TabOrder = 1
  70. object Label2: TLabel
  71. Left = 0
  72. Top = 0
  73. Width = 344
  74. Height = 15
  75. Align = alTop
  76. Alignment = taCenter
  77. Caption = 'TImgView32'
  78. ExplicitWidth = 65
  79. end
  80. object LabelImgViewZoom: TLabel
  81. Left = 0
  82. Top = 495
  83. Width = 344
  84. Height = 15
  85. Align = alBottom
  86. ShowAccelChar = False
  87. ExplicitWidth = 3
  88. end
  89. object ImgView: TImgView32
  90. Left = 0
  91. Top = 15
  92. Width = 344
  93. Height = 480
  94. Align = alClient
  95. Bitmap.ResamplerClassName = 'TNearestResampler'
  96. BitmapAlign = baCustom
  97. Scale = 1.000000000000000000
  98. ScaleMode = smScale
  99. ScrollBars.ShowHandleGrip = True
  100. ScrollBars.Style = rbsDefault
  101. ScrollBars.Size = 17
  102. ScrollBars.Visibility = svAuto
  103. SizeGrip = sgNone
  104. OverSize = 0
  105. TabOrder = 0
  106. TabStop = True
  107. OnChange = ImgViewChange
  108. OnMouseDown = ImgViewMouseDown
  109. end
  110. end
  111. end