| Moderator |
|
Wes Peterson
Prestwood IT
Prestwood IT office in Citrus Heights, CA
|
|
| Real Name: |
Wes Peterson
|
| Title: |
Senior Software Engineer
|
| Company: |
Prestwood IT Solutions |
| Prestwood Staff: |
Office Worker
|
| Website: |
http://www.prestwood.com
|
| Joined: |
Jan 2004 (9 years ago) |
| Visits: | 1,500 |
| Member Points: | 4,055 |
|
|
HighlightsPosted within the last 90 days. |
| New? |
|
Title |
For... |
|
|
1.
Need Cast?
Hi Tom,
You don't mention the type of your array, nor if your code produces any errors.
The solution may be as simple as casting your array items to TPanel:
if TPanel(ArPnl [x,y]).color = clPurple then (the array is called Arpnl), TPanel(ArPnl [x,y]).color := clTeal;
|
|
|
|
2.
New Design
I like it. It looks clean and approachable.
|
|
Message Boards Activity156 posts. |
|
Thread 6 of 6 | | Thread Starter or a Reply (but not last) | | | Group |  Zak | Delphi vs VB... What is better?Hi All, , I know it's not the wright place, but I didn't other place. , , Please I want trustable & proficinal answer. What is the better Delphi or VB? Why VB is more famous than Delphi., , Note , I'm Delphi programmer., , Thanks  Wes | Things change fast!
Would it be important to you to have a tool that would allow you to run your applications on Windows, Mac, iPad and iPhone - from a single code-base?
Delphi has a new "personality" that they call FireMonkey. Like Delphi, it uses the same Ojbect Pascal language. But Firemonkey dispenses with the older Delphi VCL (visual control library) which consisted, largely, of wrappers around existing Windows controls.
Firemonkey,... |
|
 11819 Hits |  Coding & OO | |
Thread 5 of 6 | | Thread Starter or a Reply (but not last) | | | Group |  Wes Peterson | RE: Delphi vs VB... What is better...Things change fast!
Would it be important to you to have a tool that would allow you to run your applications on Windows, Mac, iPad and iPhone - from a single code-base?
Delphi has a new "personality" that they call FireMonkey. Like Delphi, it uses the same Ojbect Pascal language. But Firemonkey dispenses with the older Delphi VCL (visual control library) which consisted, largely, of wrappers around existing Windows controls.
Firemonkey, leverages the graphics card ability to "draw" controls and other screen objects as needed. A TextBox, for example is no longer an arbitrary rectangle defined by windows. With FireMonkey, the textbox is eight discrete parts; four lines and four corners. The developer can control many aspects of those parts, such as the rounding of the corners.
The ability to use a system's GPU to render screen content frees Firemonkey from the constraints of any given OS.
.NET is also improving. It may be impossible to say which tool is "be... |
 |  Coding & OO | |
Thread 4 of 6 | | Thread Starter or a Reply (but not last) | | | Group |  Tom.L | Delphi -- Search an array for a coloured TpanelI have an array y=11 by x=20 array containing Tpanels they all have corresponding colours assined to them. i would like to be able to search through the arraay to find a cirtian colour and change it to another, i tried this but it didnt work.
procedure TFrmSeatLayout.BtnDeselectAllClick(Sender: TObject);, begin, ListSelectedSeats.Items.Clear; (ignore this), if ArPnl [x,y].color = clPurple then (the array is called Arpnl), ArPnl [x,y].color := clTeal;
end;
I want it to find the Purple panel and change it to Teal
Thanks for your help
Tom |
 317 Hits |  Pascal and Delphi Coding | |
Thread 3 of 6 | | Thread Starter or a Reply (but not last) | | | Group |  Wes Peterson | Need Cast?Hi Tom,
You don't mention the type of your array, nor if your code produces any errors.
The solution may be as simple as casting your array items to TPanel:
if TPanel(ArPnl [x,y]).color = clPurple then (the array is called Arpnl), TPanel(ArPnl [x,y]).color := clTeal;
|
 |  Pascal and Delphi Coding | |
Thread 2 of 6 | | Thread Starter or a Reply (but not last) | | | Group |  Mike Prestwood | New PrestwoodBoards DesignSimple question, do you like the new PrestwoodBaords design?  Wes | I like it. It looks clean and approachable. |
|
 370 Hits |  PrestwoodBoards | |
Thread 1 of 6 | | Thread Starter or a Reply (but not last) | | | Group |  Wes Peterson | New DesignI like it. It looks clean and approachable. |
 |  PrestwoodBoards | |
Knowledge Base Posts
|
|
| |
KB Article |
|
|
Wes Peterson
|
1. Pixeur by Veign
http://www.veign.com/application.php?appid=107
|
 Link
 1894 Hits
|
 Website Owners
|
Wes Peterson
|
2. The Wonder of Network Print Servers
Network print servers are an inexpensive and great solution to a common home or office network. Sure you can "share" printers attached to particular machines, but that creates a dependency on that machine being up and running.
With a network print server, that dependency disappears. People on the network can print without a particular machine being on and available.
They solve one other important problem, too.
|
 Article
 2139 Hits
|
 Computer Tech
|
Wes Peterson
|
3. SQL Server Nasty Crash - Vault?
The installation of the SourceGear Vault client control appears to trash SQL Server Management Studio and Visual Studio.
Here's the fix that worked for me.
|
 KB Post
 1595 Hits
|
 DBA, Databases, & Data
|
Wes Peterson
|
4. Awesome off-site backup
Backups: Well know we need them and most of use at least one of the available ways to backup. If we don't, we'd be well served to ponder something Mike Prestwood recently said:
"There are two kinds of people; those that back up - and those that will."
In this article I'd like to show you an off-line backup solution that is so simple to set up and use that you'll never again have an excuse for not backing up important work.
|
 Article
 1514 Hits
|
 Computer Tech
|
Wes Peterson
|
5. Paradox, .NET, and the Wicked Back-Tick
Using spaces within database column names may be "legal," but that doesn't mean it won't make your life harder. It's legal in Paradox tables and most database systems but you might want to avoid using spaces. Here's why - and one way to use spaces if you're using Paradox tables under .NET.
(2 Comments
, last by Wes )
|
 KB Post
 4626 Hits
|
 Corel Paradox / ObjectPAL Coding
|
KB Comments
|
|
 Wes Peterson
|
John,
Sorry to hear about the kittens. 
As a developer that often has to maintain others' code, it's maddening to run into database table and column names that include spaces.
It's tempting to blame whoever designed the database schema, but when I think about that, I have a better target for my ire: the makers of databases that allow spaces in entity names to begin with.
What are they thinking? I have an old motto: Just because a thing can be done, doesn't mean it should be done. So the clever database designers could make spaces legal. Great. But at what cost to others down the road?
Say we need to name a data column. Is "Last Name" really any better a name than "LastName?" If so, I'd really like to understand why.
|
Regarding...
Paradox, .NET, and the Wicked Back-Tick
Using spaces within database column names may be "legal," but that doesn't mean it won't make your life harder. It's legal in Paradox tables and most database systems but you might want to avoid using spaces. Here's why - and one way to use spaces if you're using Paradox tables under .NET.
|
|
|
 Wes Peterson
|
Too dang funny!
My friend, Marilyn, brought this article to my attention. She said she laughed all the way through. So did I.
The sad thing is that there's way too much truth in there. Glad that doesn't happen here.
|
|
Blog Topics:
|
|
| |
KB Article |
|
|
Wes Peterson
|
1. Windows 7 Backup Surprise
We all want a good, solid backup and restore solution for our machines. This is about a "sleeper" program I found on my new Windows 7 machine.
|
 Blog
 3084 Hits
|
 Computer Industry
|
Wes Peterson
|
2. Windows 7 Trials and Triumphs
This begins the saga of my personal experiences with Windows 7.
Although Prestwood IT Solutions has Win7 installed on some machines for testing purposes, I wasn't involved in setting any of them up. What follows are my personal experiences setting up a new Win7 machine for my home office, installing the software I need, and resolving the inevitable problems that arise along they way.
|
 Blog
 5244 Hits
|
 Windows Users
|
Wes Peterson
|
3. Windows 7, Delphi 7 and Political Correctness
With my installation of Win7 complete, I moved on to installing my favorite software. Delphi 7 was high on my list but, when I went to install it, Win7 went all "politically correct" on me.
This post is about how I dealt with the problem.
40 months ago, and updated 28 months ago
(4 Entries
, last by mprestwood )
|
 Blog
 8015 Hits
|
 Computer Industry
|
Wes Peterson
|
4. Windows 7: Data Where You Want It
As with XP and Vista, Windows 7 creates a handful of folders intended to hold your various documents, music, videos, etc.
By default, these folders are placed on the machine's C: drive.
Depending on your ideas of where such data belongs, you may want these folders located somewhere other than the C: drive; I certainly did.
This is about how to do that.
|
 Blog
 2667 Hits
|
 Computer Industry
|
Wes Peterson
|
5. Failed Hard Drives and RAID
If you've used computers for more than a few years, you know that you don't wonder IF a hard drive will fail - you wonder WHEN.
It just happened to me - again. But this time it looks like the results will be pretty painless. The reasons?
* RAID Level 1
* Superb Hard Drive manufacturer warranty support
|
 Blog
 4840 Hits
|
 Computer Tech
|
|
|
|