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

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

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

   ► KB ►► ProgrammingDelphi for W...   Print This    All Groups  

Pascal and Delphi Coding New and Updated KB Posts

Page Contents


Recently Created

(Pascal and Delphi Coding Group)

  KB Article    

Wes Peterson
1. The Case for Delphi (On the Desktop)

In 1995 Borland revolutionized the world of software development when they introduced Delphi.

It had the distinction of being the first integrated development environment (IDE) featuring a fully object-oriented language and a blazing-fast compiler that produced highly optimized, native Intel machine code. Programs written in Delphi were among the fastest in existence – and still are.

After all these years, is Delphi still relevant?

You bet it is! (And, in many cases, it is still your best bet.)

Here's why...

Posted to KB Topic: Delphi for Win32
36 months ago

Article
Nothing New Since Your Last Visit
2736
Hits

Wes Peterson
2. Where Does Your Data Belong?

Back in the wild and wooly days of C/PM, DOS, and early versions of Windows, we programmers could store our data pretty much anywhere. It might not have been a good idea, but we could get away with it.

Things have changed drastically!!

If your program stores data, you need to know where it belongs, and that varies quite a bit from one version of Windows to others.

Read on to find out where your data belongs.

Posted to KB Topic: Delphi for Win32
36 months ago

Article
Nothing New Since Your Last Visit
3090
Hits

Wes Peterson
3. TDBGrid: Rerarranging Columns at Will

Delphi's TDBGrid is an incredibly useful component; one you'd expect to find in any professional development tool.

One of it's handy behaviors is that users can click in column headers and drag to rearrange column ordering to their liking.

Unfortunately, TDBGrid doesn't offer the developer any really easy way to rearrange grid columns from code. This is inconvenient because you might offer the user a choice of various columns upon which they can search, and it would be nice to make their chosen column the leftmost - at least. Often it makes sense to rearrange other columns as well.

This little class allows you to do that.

It has no exposed methods, and only two properties, so it's incredibly easy to use.

Read on to learn how it works and to get the code.

Posted to KB Topic: Using Controls
46 months ago

Article
Nothing New Since Your Last Visit
6537
Hits

Ahmed.A
4. BDE Paradox Robust table openning

This is a rough draft version of a procedure that provides a robust way to open paradox tables in a delphi program

Posted to KB Topic: BDE
6 years ago

Code
Nothing New Since Your Last Visit
9067
Hits

Mike Prestwood
5. Delphi Gazette Archive: 1998

Our Delphi Gazette ran for a vew years in the late 90s. This page archives 1998.

6 years ago

KB Post
Nothing New Since Your Last Visit
5137
Hits

lowster11
6. Register Now for CodeRage 5!

CodeRage is five full days of 100% online technical sessions focused on software development and data management issues which you can attend from wherever you like to log in.  Its bringing you top industry speakers, technologists, and industry practitioners to present on a wide variety of developer topics, a raging confluence of conveniently-delivered information you cant get anywhere else.  And its FREE!

Posted to KB Topic: Sac Delphi User Group
7 years ago

News
Nothing New Since Your Last Visit
3010
Hits

Mike Prestwood
7. Delphi XE Tour in Sacramento

RAD Studio XE Tour - SACRAMENTO, CA. Free Pizza and soda!!!!  Sponsored by Prestwood IT Solutions - www.prestwood.com

Posted to KB Topic: Sac Delphi User Group
7 years ago
(1 Comments , last by lowster11 )

News
Nothing New Since Your Last Visit
4777
Hits

Hannes Bez
8. GETTING A LIST OF PC MAC ADDRESSES

Found a cryptic version of this code on http://www.delphifaq.com/faq/delphi/network/f702.shtml by narayana and re-arranged and adapted it to produce a non-duplicated list of MAC addresses in a re-usable code snippet. I show you how to include this unit in your project and then how to call it to get a list of the MAC addresses. Most importantly, it does not use NetBios and I have tested it on Win7 32- and 64-bit.

Posted to KB Topic: Coding Tasks
7 years ago
(3 Comments , last by Mike.E2 )

KB Post
Nothing New Since Your Last Visit
6952
Hits

Mike Prestwood
9. Delphi Array (x=Array[0..3] of string;)

Delphi supports both static and dynamic arrays.

Posted to KB Topic: Delphi for Win32
7 years ago
(2 Comments , last by Anonymous )

Code

KB Post
Nothing New Since Your Last Visit  
14417
Hits

Mike Prestwood
10. BDE SQL Links Not Maintained

I have an application in Delphi 1-7, using BDE. Is there a way that I can upgrade the BDE so the can work with MSSQL 2005 or 2008. They work fine if MSSQL2000 is is used. Am I on a dead end or there is still hope?

Posted to KB Topic: BDE
7 years ago, and updated 7 years ago

FAQ
Nothing New Since Your Last Visit
8311
Hits




Recently Updated

(Pascal and Delphi Coding Group)

  KB Article    

Wes Peterson
1. Where Does Your Data Belong?

Back in the wild and wooly days of C/PM, DOS, and early versions of Windows, we programmers could store our data pretty much anywhere. It might not have been a good idea, but we could get away with it.

Things have changed drastically!!

If your program stores data, you need to know where it belongs, and that varies quite a bit from one version of Windows to others.

Read on to find out where your data belongs.

Posted to KB Topic: Delphi for Win32
36 months ago

Article
Nothing New Since Your Last Visit
3090
Hits

Wes Peterson
2. The Case for Delphi (On the Desktop)

In 1995 Borland revolutionized the world of software development when they introduced Delphi.

It had the distinction of being the first integrated development environment (IDE) featuring a fully object-oriented language and a blazing-fast compiler that produced highly optimized, native Intel machine code. Programs written in Delphi were among the fastest in existence – and still are.

After all these years, is Delphi still relevant?

You bet it is! (And, in many cases, it is still your best bet.)

Here's why...

Posted to KB Topic: Delphi for Win32
36 months ago

Article
Nothing New Since Your Last Visit
2736
Hits

Wes Peterson
3. TDBGrid: Rerarranging Columns at Will

Delphi's TDBGrid is an incredibly useful component; one you'd expect to find in any professional development tool.

One of it's handy behaviors is that users can click in column headers and drag to rearrange column ordering to their liking.

Unfortunately, TDBGrid doesn't offer the developer any really easy way to rearrange grid columns from code. This is inconvenient because you might offer the user a choice of various columns upon which they can search, and it would be nice to make their chosen column the leftmost - at least. Often it makes sense to rearrange other columns as well.

This little class allows you to do that.

It has no exposed methods, and only two properties, so it's incredibly easy to use.

Read on to learn how it works and to get the code.

Posted to KB Topic: Using Controls
46 months ago

Article
Nothing New Since Your Last Visit
6537
Hits

Ahmed.A
4. BDE Paradox Robust table openning

This is a rough draft version of a procedure that provides a robust way to open paradox tables in a delphi program

Posted to KB Topic: BDE
6 years ago

Code
Nothing New Since Your Last Visit
9067
Hits

Mike Prestwood
5. Delphi Gazette Archive: 1998

Our Delphi Gazette ran for a vew years in the late 90s. This page archives 1998.

6 years ago

KB Post
Nothing New Since Your Last Visit
5137
Hits

Wes Peterson
6. TADOTable: When The Obvious Can Be Wrong!

With the introduction of support for ADO Database access, Borland gave us TADOTable, a quick, easy-to-use component to begin the job of outfitting an existing application with a newer database. But TADOTable is no TTable! It comes with some baggage you can do without.

Posted to KB Topic: ADO
9 years ago, and updated 6 years ago
(1 Comments , last by Jack.P )

Article
Nothing New Since Your Last Visit
14261
Hits

Mike Prestwood
7. Delphi Abstraction (abstract, override)

Delphi for Win32 supports abstract class members using the abstract keyword. You can even instantiate instances of a class that contains abstract members. Then you override each abstract member in a descendant class with Override. Delphi does not support setting an entire class as abstract. You can create an abstract class (a class with one or more abstract methods), but there is no way to tell the compiler to not allow the instantiation of the abstract class. Delphi does not support abstract member properties directly. To implement an abstract properity, make use of abstract methods. That is, you can read a GetPropertyX abstract function and write to a SetPropertyX abstract procedure. In effect, creating  an abstract property.

Posted to KB Topic: OOP
9 years ago, and updated 6 years ago
(3 Comments , last by mprestwood )

Code

Article
Nothing New Since Your Last Visit
17650
Hits

Mike Prestwood
8. Using Case Statements in Object PASCAL Using case statements in Delphi.
Posted to KB Topic: Language Details
14 years ago, and updated 6 years ago
(1 Comments )

KB Post
Nothing New Since Your Last Visit
12315
Hits

Mike Prestwood
9. Native Code versus Managed .Net Code

What are the benefits of Win32/64 native code such as in Delphi over .Net?

Posted to KB Topic: Language Basics
9 years ago, and updated 7 years ago
(3 Comments , last by mtiede )

FAQ
Nothing New Since Your Last Visit
7018
Hits

Daniel Kram
10. One Recommended way of writing IF/End IF statements

Format the IF/Endif for easy reading. I have found this to be easy to read and follow:

if (         (something = somethingelse)
      and (x = y)
      and (z = a)
   ) then
begin
..
end;

To indent the structure and line up the parenthesis makes it, I feel, much easier to read.

Posted to KB Topic: Language Basics
9 years ago, and updated 7 years ago
(3 Comments , last by mtiede )

Tip
Nothing New Since Your Last Visit
7105
Hits
Icon Legend:
Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).
-
   Contact Us!
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


Go ahead!   Use Us! Call: 916-726-5675 


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