|MasterString for Delphi|
by Jared Bruni
MasterString is a unit which contains string algorithms I translated from C++ to Object Pascal. They are common string algorthms, that are very usefull in string manipulation. Includes findstr (InStr$), leftcopy(Left$), rightcopy(Right$),midcopy (Mid$), and more
|A String Tokenizer Similar To strtok() in C++|
The following procedure acts similar to strtok in C++. Call it once with your string (S), and then everytime you call it from there on out, you can break your string apart with tokens! Included is a function StrMid() and an overload for StrMid that simulate the Mid() function in Visual Basic.
by Eka Puji Widiyanto
This article will show you how to make your application to be able automatically load when Windows is on starts up.
|Better moving form|
by Mark van Renswoude
While looking at somebody else's code, I noticed he was doing all sorts of stuff with the MouseDown and MouseMove events. Here's a better way, it captures the WM_NCHITTEST message which Windows sends to make Windows think the user is clicking on the titlebar, thus moving the form...
by Emiel Hollander
The global object Mouse, which is of type TMouse, contains information about the mouse. The object Mouse has several properties and one method I'll discuss here. For more properties and methods look in the Delphi help file, I will only discuss one method that is only present in TMouse, and not the methods that are derived from TObject.
Here is an example showing how to use the Component Template. You will find it under 'Component' on the Delphi menu.
Component Templates are very handy, yet very simple to use.
|Split Function in Delphi|
by Nick Siderakis
Hey this function just emulates the Visual Basic function that we know and love “split”!!! You use it the same way you would have in vb.
avar := split('string to break up',' ',2);
That will return avar as “to” thatâ€™s it, have fun and please vote!!
|Windows Security Documentation|
by John M. Hall
This document provides information about the Windows security system and what restrictions you can use to limit its functionality.
|Grab the current URL from IE|
by Bryan Hammond
This code will show you how to find the Internet Explorer browser window, then grab the current URL out of the IE address bar. Perfect for learning simple win32 api functions in delphi.
|User Input Text Editor|
by Wayne & Carr Barron
Updated on Oct. 19, 2001
This was made with Delphi 6 Professional Trial
and will work with Delphi 5 not sure about any version below. Give it a try with Versions below 5 and email me please.
For Beginners to Intermediate
This is an intense tutorial on how to create a text editor. Thought that I add something to this sight, instead of just always taken from it. This tutorial is very detailed on what needs to be done, and all source codes are highlighted. With a grayed background.
... (see entry for full description)
|CheckBox in DBGrid|
This article shows you how to put a checkbox in a dbgrid. If the column is of boolean type, then a checkbox will appear. Great Look and very easy;
The object of this short tutorial is to demonstrate how processes can be hidden from the windows, its taskbar, and its task manager. It also contains my code to hide from the task manager on 9x machines without crashing when run on NT, or XP.
|IDE Peek Expert|
by Found on the World Wide Web
There are a variety of very dirty, and undoubtably illegal, things you can do with Delphi Experts if you know the names of the controls in the Delphi IDE. This expert examines the Delphi interface starting with Application for the components it contains. It does this by recursively iterating through the component arrays. Because not all components are simultaneously present, dialog boxes for example are only created when required, the expert puts a hook into the IDE which monitors W ... (see entry for full description)
|Loading and calling DLLs at runtime|
by James Mistry
I have seen a few methods of calling DLLs at runtime that have required the programmer to know the name of the DLL and function signature (arguments) before compilation, but this is no good if you want to call a function you know nothing about. For some reason the topic is very poorly documented by Microsoft so, armed with some old C++ code and a couple of beers I set out to make a function that would call an export from a DLL with absolutely no information required at design time. ... (see entry for full description)
|The SystemParametersInfo function|
by Emiel Hollander
The Windows API function SystemParametersInfo can be used to find out things about the system. The parameters that should be passed to this function depend on the action that should be taken. I will only discuss the actions that get information from the system here. You can also set certain settings using the SystemParametersInfo function. For more info, see the Win32 Programmer's Reference.
|Introduction to Design Patterns in Delphi|
by Found on the World Wide Web
'This article was written by James Heyworth, author of the ABC for Delphi component library published by Objective Software Technology Pty Ltd.' ABC for Delphi is a complete integrated solution for creating distinctive user interfaces with has over 200 components encompassing interface design, data presentation and application support. Copyright © 1996, Objective Software Technology Pty Limited. This paper may be freely distributed in its entirety, providing the source is acknowledg ... (see entry for full description)