Delphi Help plz!

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

IBM

Thread Starter
Joined
Nov 13, 2000
Messages
824
Hi..
Does anyone know how to reset font.style from underline back to normal(no underline)

Mycode is like this:
lbldisplay.Font.Size:=24;
lbldisplay.Font.Style:=[Fsunderline];
lbldisplay.Caption:='Hello'+' '+edtFname;

That is for one button, the next button should reset the previous button to a font12, and no underline...
I've tried fpDefault...Don't really know what it does!
I've tried Fsnormal...Won't work...

I just can't get it..any ideas?
 
Joined
Sep 16, 2008
Messages
1
It is years later but I came across the same problem... set the Tfont.style to and empty set, i.e. printer.canvas.font.style := [] will reset the font to normal. It is odd that there is no fsnormal style for tfont.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top