Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

ResizeEdges

bsNoneのFormに移動とサイズ変更機能を実装するヘルパークラス

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

ResizeEdgesSample

This is a sample application demonstrating how to use ResizeEdges.pas
to enable resizing and moving of visual controls on a borderless form (bsNone).

Features

  • Move the form by dragging Panel1
  • Resize the form via ListBox1 (bottom and sides)
  • Click the button to close the application

日本語説明

このサンプルは、ResizeEdges.pas を使用して、枠なしフォーム(bsNone)に対して
視覚的なコントロール(パネルやリストボックス)を通じてリサイズ・移動操作を可能にする方法を示しています。

特徴

  • Panel1 をドラッグするとフォームを移動できます
  • ListBox1 の下端や左右でフォームのサイズ変更が可能です
  • ボタンを押すとアプリケーションが終了します

実行方法

  1. Delphi で ResizeEdgesSample.dpr を開く
  2. 実行(F9)
  3. Panel1 をドラッグ、ListBox1 でリサイズできることを確認
  4. ボタンでアプリを終了

対応環境

  • Delphi 10.x 以降を想定
  • Windows 向け VCL アプリケーション

License

This example is provided as-is under the MIT License.
Feel free to use it as a reference for your own applications.