LoginSignup
0
1

More than 5 years have passed since last update.

C++ Builder XE4 > デザイン > TShapeに似た見た目をTPanelで行うには

Last updated at Posted at 2018-12-27
動作環境
C++ Builder XE4

概要

凡例の作成としてTShape上にコンポーネント(TLabelやTShape)を配置しようとしていた。
TShape上には配置はできない。

TShapeに似た見た目をTPanelで行うには下記のような設定になりそうだ。

  • BevelKind: bkTile
  • BevelOuter: bvNone
  • BevelWidth: 1
  • BorderStyle: bsNone
  • BorderWidth: 0
  • color: clWhite
  • ParentBackground: false

下記、左はTPanel(設定変更後)で右はTShape (デフォルト設定)。
2018-12-27_09h15_52.png

外枠の太さは少し違う。

  • BorderStyle: bsSingleのようにすると、くぼんだ感じになる
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1