Your full service technology partner! 
-Collapse +Expand
Search Delphi Group:

-Collapse +Expand Delphi To/From
-Collapse +Expand Delphi Store

Prestwood eMagazine

December Edition
Subscribe now! It's Free!
Enter your email:

   ► eMag   Print This    All Groups  
View Group Edition:
Full Edition Your Edition || Prev Next || Subscription Center

Prestwood IT Newsletter Jan 2014 Issue - Delphi Edition


Start subscribing now! It's free!

Each month on or after the 1st, and only once a month, we will send you content from up to 5 community groups. If you select this Delphi group, you'll receive the following content below mixed in with the other groups you elect to include.

Prestwood eMag
Our monthly opt-in coupons+newsletter.
  January 2014 - Delphi Edition (762 of 4,805 subscribers receive this group's content.) Year 16 Issue 1  
Your full service technology partner!

Expert guidance from working professionals!
IT Water-Cooler for Power-Users topic:
Stamp Out Spam
by Vicki Nelson

How to fight back against spam and reclaim your inbox. As you may know, the volume of spam messages sent across the Internet has reached epidemic levels. Some industry experts estimate that three out of every five e-mail messages that are sent today are spam. The spam epidemic is costing companies, professionals, and individual users considerable amounts of time, money, and resources.

What is spam, and what can I do about it? Spam is generally defined as an unsolicited mailing, usually sent to many recipients. Most spam is commercial advertising, often for dubious products, get-rich-quick schemes, or quasi-legal services. Spam costs the sender very little to send. Most of the costs are paid by the recipient or the carriers rather than the sender. Some effective methods for preventing your e-mail address from being captured, sold or abused by spammers in the full version of this article. Click the title to read more.

Off Shoring topic:
Off-shoring: You CAN fight back!
by Wes Peterson

Are you fed up with calling a company and finding yourself speaking to somebody in a foreign country? 

I am, and I've just learned of an effective way to fight back, help return jobs to America, and keep them here.

The best part? We don't have to wait for government to do a thing.

 Delphi Group Top 
Visit Group | My Group Settings
BDE topic (classic post):
A 10 Minute Delphi 2009 Paradox BDE TTable Quick Start
by Mike Prestwood

This KB Post addresses accessing Paradox tables through the BDE using TDatasource, TTable, and TDBGrid. This tutorial was updated for Delphi 2009 but applies to all versions of Delphi.

Language Details topic (classic post):
A New Look At Delphi Exceptions
by Mike Prestwood

When you want the exception to be the rule. A technique for handling exceptions in Borland Delphi's Object Pascal.

 Monthly Delphi Lesson
Language Details Topic:
Code Snippet of the Month

Object Pascal

  • Operator - Yes. But not Pascal.
  • Method - Yes.  
function Add(a, b: integer): Integer;  overload
Result := a+b;
function Add(const msg: String; a, b: integer): String; overload
  Result := msg + IntToStr(a+b);
OOP Topic:
Definition of the Month: Strict Visibility
The Strict specifier tightens up the scope for private and protected. With Strict Private, members within a class are visible ONLY within the class declared and Strict Protected are visible only within the class declared and descendent classes. Without strict, private and protected members can also be seen by all classes declared in the same unit (friendly classes). The Strict specifier was introduced with Delphi for .Net preview in Delphi 7 in an update to the .Net compiler preview and with Win32 in Delphi 2005 to fully comply with the .NET CLS. Delphi's traditional private specifier maps to the CLR's assembly visibility and the protected specifier maps to the CLR's assembly or family visibility.
Delphi for Win32 Topic:
Documented Error of the Month: Program or unit recursively uses itself

[DCC Fatal Error] Program or unit 'Buttons' recursively uses itself


You cannot create a Delphi unit with the same name as is already in use. For example, do not create a buttons.pas unit for your application because the VCL already has a Buttons.pas unit. The solution is to rename your unit.

Delphi for Win32 Topic:
Resource Link of the Month: Book: Delphi 2007 Handbook

Marco Cantu's previous Delphi Books have long been a staple in my personal library, and I expect this new one will live up to Cantu's fine reputation.

Marco's Delphi 5 books were watersheds in my Delphi career, and I'm eager for my copy of this new one to arrive.

Using Data Topic:
Question: How do you check screen resolution in Delphi?


Use the Screen variable which is a TScreen. The Screen variable is a TScreen component that represents the screen of the system on which the application runs. By default, applications create a screen component based on information from Windows about the current screen device and assign it to Screen.

For example, put the following code in a button click:

MessageDlg( 'screen width = ' + IntToStr( Screen.Width ) + ',
screen height = ' + IntToStr( Screen.Height ),
    mtInformation, [mbOk], 0 );
Using Data Topic:
Tip of the Month
When you need to put quotes, single or double, or even another character, around a string there are two methods to lend a hand: QuotedStr and AnsiQuotedStr. QuotedStr will put single (') quotes around your string or variable. The other function you can call is AnsiQuotedStr which adds double quotes.

Sales Website: Or visit our legacy sales site:

©1995-2021 Prestwood IT Solutions.   [Security & Privacy]