Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text formating

Status
Not open for further replies.

Regany

Programmer
Aug 27, 2004
72
LV
Is it posible in Delphi to raise or lower text? For example - X(lg) ; (text in bracket would be a little bit smaller and raised/lowered) I hope, question is understandable!
 
Do you mean Superscript( small characters in high position) and Subscript( small charaters in low position)
a and a (TGML allows us to do this here)
There might be third party componets that do this, but as far as I know its not built in (up to D4) as it is with Uppercase and Lowercase conversion.



Steve
Be excellent to each other and Party on!
 
Yes, thats exactly what i want to get.. But where to get this component? :/
 
There are several online Delphi sites, many do downloadable components, many (but not all) of these are free, Torrys, Delphi Deli, spring to mind, do a web search for Delphi components or Delphi VCL.
As a further note. Some char sets have superscript charaters most don't, the conversion would have to be done, at a bit level, but I still think that someone will have had a go at encapsulating this, have a search round.


Steve
Be excellent to each other and Party on!
 
OK, i will search, if i find something i will post!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top