工具->位图样式管理器
并重新打开Windows 10样式(因为您想要在Windows 10中实现这个)。对象->表单->标题
并将高度更改为5。' '
。Vcl.Forms.TFormStyleHook.PaintNC
以了解如何使用样式钩子完成此操作。Enabled=true
Height=0
ShowCaption=false
ShowIcon=false
SystemButtons=false
SystemColors=false
SystemHeight=false
Form.BorderStyle=bsSizeable
对于FireMonkey(FMX)用户:您可以通过样式来实现此操作。