Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
リンク TLinkLabel のフォントを変更するにはどうすればよいですか? たとえば、このリンクのサイズを 10 にして、色を青にしたい: このように変更しようとしています:
LinkLabel1.Font.Color:=clBlue; LinkLabel1.Font.Size:=10;
、しかし、何も起こりません。
TLinkLabelfont プロパティの変更に反応させるには、 を設定する必要がありますUseVisualStyle := false。
TLinkLabel
UseVisualStyle := false
注: 静的テキストとリンク テキストに異なるフォントを使用することはできません。レンダリングは Windows によって内部的に行われ、これに影響を与える手段はありません。