IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
lrutledge
-Collapse +Expand Profile◄╣
       Print This   
Personal Account . . .
Larry J. Rutledge
Citrus Heights, CA USA
Rank: Lieutenant-Commander
Email A E CA USA
Send New Private Message Send Message   Add ContactAdd To Friend List Block Member Block Member
Real Name:  Larry Rutledge
Title:  Sr Software Developer
Company:  Prestwood IT Solutions
Website:  http://www.prestwood.com
Joined: Oct 2000 (13 years ago)
Visits: 77
Member Points196
Primary Role:  Coder
Primary Group:  Delphi
Secondary Groups:  Proj Man  Analyst  Coder 
Location:  Citrus Heights, CA USA

Message Boards Activity

74 posts.
More...

Thread 6 of 6
Thread Starter or a Reply (but not last)  Group

Larry J. Rutledge
Delphi 6 Personal Edition - Free
[b]Borland to Offer Delphi 6 Personal Edition for Free[/b], , [i]Scotts Valley, CA (August 3, 2001)[/i] - Borland Software Corp. is offering Borland Delphi 6 Personal Edition for free. Delphi 6 Personal enables new users to learn how to develop high-performance, non-commercial applications for the Windows platform with the latest technology standards and protocols., , Complete with a 32-bit, optimizing, native code compiler, online help, and examples, Delphi 6 Personal shortens development cycles and can increase developer productivity. The Personal Edition also features a VCL of more than 85 pre-built and reusable, customizable components, including menus, dialogs, TreeViews, and text boxes., , Borland Delphi 6 is the first RAD environment for Windows that fully supports new and emerging Web Services. With Delphi 6, corporate, or individual developers can create next-generation e-business applications quickly and easily. Major features include BizSnap, WebSnap, and DataSnap to enable ...
Posted to MB Topic: Delphi News / Other « Delphi Board
12 years ago

Anonymous
---Nathan Mutisya
16 months ago
Nothing New Since Your Last Visit
14360
Hits

Pascal and Delphi Coding

Thread 5 of 6
Thread Starter or a Reply (but not last)  Group

Larry J. Rutledge
Tip: Create Round Windows
[b]Version Info[/b]: Works with Delphi 2 and higher, , [b]Category[/b]: Multimedia, , [b]Description[/b]: , Use SetWindowRgn API call to make a round form., , The SetWindowRgn function sets the window region of a window. The window region determines the area within the window where the operating system permits drawing. The operating system does not display any portion of a window that lies outside of the window region., , Simply use this function in the FormCreate event:, , , [b]procedure[/b] TForm.FormCreate(Sender: TObject);, [b]var[/b], R1: HRGN;, R2: HRGN;, , [b]begin[/b], R1 := CreateEllipticRgn(1, -1, Width - 1, Height);, R2 := CreateEllipticRgn(50, 50, Width - 50, Height - 50);, CombineRgn(R2, R1, R2, RGN_XOR);, SetWindowRgn(Handle, R2, True);, [b]end[/b];, , , , ------------------, Larry J. Rutledge, , Programmer / Analyst, Prestwood Software & Consulting, 7525 Auburn Blvd., #8, Citrus Heights, CA 95610, , [URL=http://www.prestwood.com]www.pr...
Posted to MB Topic: Delphi News / Other « Delphi Board
13 years ago

Paul.S
Thanks Larry.
5 years ago
Nothing New Since Your Last Visit
1672
Hits

Pascal and Delphi Coding

Thread 4 of 6
Thread Starter or a Reply (but not last)  Group

Larry J. Rutledge
Re: Copy to windows clipboard
I have an excellent beginner's reference to the Clipboard in an article, but I don't remember the source so I am including the text of the article here., ,
, , [b]Clipboard in General[/b], As you probably know, the Clipboard can [i]hold[/i] only one piece of data for [i]cut, copy and paste[/i] at one time. In general, it can hold only only one piece of the same kind of data at a time. If we send new information of the same format to the Clipboard, we wipe out what was there before. The contents of the Clipboard stays with the Clipboard even after we paste those contents into another program., , [b]TClipboard[/b], In order to use the Windows Clipboard in our applications, we must add the [b]ClipBrd[/b] unit to the uses clause of the project, except when we restrict cutting, copying and pasting to the components that have built in support for Clipboard methods. Those components are TEdit, TMemo, TOLEContainer, TDDEServerItem, TDBEdit, TDBImage, and TDBMemo., , The ClipBrd unit automa...
Posted to MB Topic: Delphi Single User Apps « Delphi Board
11 years ago
Nothing New Since Your Last Visit
2
Hits

Pascal and Delphi Coding

Thread 3 of 6
Thread Starter or a Reply (but not last)  Group

Larry J. Rutledge
Re: What directory is my application located in?
You can always check Application.ExeName to get the path and filename of the currently running executable. If you only want the Path portion, pass it to ExtractFilePath and if you only want the filename, pass it to ExtractFileName., , Hope this helps,, Larry
Posted to MB Topic: Delphi Single User Apps « Delphi Board
11 years ago
Nothing New Since Your Last Visit
2
Hits

Pascal and Delphi Coding

Thread 2 of 6
Thread Starter or a Reply (but not last)  Group

Larry J. Rutledge
Re: How to get the subdirectories?
If all you want is to obtain a list of subdirectories within a specified path, you can use FindFirst/FindNext as in the following code:, , [b]procedure[/b] Form1.GetDirList(sPath: [b]string[/b]);, [b]var[/b], Found: Integer;, SearchRec: TSearchRec;, [b]begin[/b], Found := SysUtils.FindFirst(IncludeTrailingBackslash(sPath) , + '*.*', faDirectory, SearchRec);, [b]try[/b], [b]while[/b] Found = 0 [b]do[/b], [b]begin[/b], [b]if[/b] ((SearchRec.Attr [b]and[/b] faDirectory) = faDirectory) [b]and[/b] (SearchRec.Name[1] <> '.') [b]then[/b], ListBox1.Items.Add(SearchRec.Name);, Found := SysUtils.FindNext(SearchRec);, [b]end[/b];, [b]finally[/b], SysUtils.FindClose(SearchRec);, [b]end[/b];, [b]end[/b];However, if you want to get the subdirectories within a specified path AND the subdirectories under those, then you need to use a recursive procedure. A recursive procedure (or function) is one that calls itself. ([b]NOTE[/b]: The most important th...
Posted to MB Topic: Delphi Object PASCAL « Delphi Board
11 years ago
Nothing New Since Your Last Visit
2
Hits

Pascal and Delphi Coding

Thread 1 of 6
Thread Starter or a Reply (but not last)  Group

Larry J. Rutledge
Re: Larry, there's a trojan virus on the board
Thanks for letting me know. I hadn't checked the file, so I was unaware. I will remove the message immediately!
Posted to MB Topic: Delphi Single User Apps « Delphi Board
11 years ago
Nothing New Since Your Last Visit
2
Hits

Pascal and Delphi Coding
More...



Knowledge Base Posts

More...
  KB Article    

Larry J. Rutledge
1. Advanced Delphi: Resize Drop-down List

To resize the list box of a combobox, you merely need to send the Windows API message: CB_SETDROPPEDWIDTH to the combo box.

Posted to KB Topic: Using Controls
54 months ago, and updated 52 months ago

Article
Nothing New Since Your Last Visit
2698
Hits

Pascal and Delphi Coding

Larry J. Rutledge
2. Components 101: Form Size Limiting

Windows sends the WM_GETMINMAXINFO message when the user tries to resize a window either by clicking the maximize button or dragging the borders of the window. By creating a suitable message-response method, you can specify the minimum and maximum window sizes for that form.

Posted to KB Topic: Using Controls
54 months ago, and updated 52 months ago

Article
Nothing New Since Your Last Visit
3023
Hits

Pascal and Delphi Coding

Larry J. Rutledge
3. TEdit OnChange events I have a form with two TEdit components on it. For the OnChange event for both, it clears the contents of the TEdit that is not changing. However, when clearing on TEdit the OnChange fires and clears the other TEdit, this then causes the OnChange in the other TEdit to fire. Fortunately, the second time the OnChange hits the original TEdit, it is already clear and nothing happens. How can I prevent the circular event firing?
Posted to KB Topic: Using Controls
54 months ago

FAQ
Nothing New Since Your Last Visit
4101
Hits

Pascal and Delphi Coding

Larry J. Rutledge
4. Create Round Windows

Use SetWindowRgn API call to make a round form. The SetWindowRgn function sets the window region of a window. The window region determines the area within the window where the operating system permits drawing. The operating system does not display any portion of a window that lies outside of the window region.

Simply use this function in the FormCreate event:

Posted to KB Topic: Using Data
5 years ago, and updated 54 months ago

Code
Nothing New Since Your Last Visit
4783
Hits

Pascal and Delphi Coding

Larry J. Rutledge
5. Delphi: Windows Shell Extensions How to add functionality to the existing Windows™ shell.
Posted to KB Topic: Delphi for Win32
10 years ago, and updated 6 years ago

Article
Nothing New Since Your Last Visit
7425
Hits

Pascal and Delphi Coding
More...
-
  Load Time=1 seconds.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


594 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


©1995-2013 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech