🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3225

Using GetTabbedTextExtent

#3225
From: Daryl
Date: Sun, 06 Aug 2006 09:56
17 lines
1275 bytes
Hi
Could someone please provide an example of using GetTabbedTextExtent.

I would like to get the length of a number of strings I want to add to a 
MessageDlg.  The strings are of differing length and I am using tabs "\t" to 
pad out their length.

eg
Employee\t\t\tAlphaNumeric
Age\t\t\t\t\tNumeric

would give
Employee        AlphaNumeric
Age                  Numeric

thanks
daryl
Technical Details
Message-ID: <44d5bcb9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,129874d7627e9285,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Daryl" <devaccount@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Using GetTabbedTextExtent
Date: Sun, 6 Aug 2006 19:56:05 +1000
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 203.206.97.101
Message-ID: <44d5bcb9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1154858169 203.206.97.101 (6 Aug 2006 02:56:09 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail