Thread 25 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Wes Peterson | RE: {Too Long}{Too Long!} |
 |  C# (Visual C# & VS.Net) |
|
Thread 24 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Wes Peterson | RE: Delphi vs VB... What is better...{Too Long!} |
 |  Coding & OO |
|
Thread 23 of 25 |
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
|
 4093 Hits |  Pascal and Delphi Coding |
|
Thread 22 of 25 |
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 21 of 25 |
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.
|
|
 3962 Hits |  PrestwoodBoards |
|
Thread 20 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Wes Peterson | New DesignI like it. It looks clean and approachable.
|
 |  PrestwoodBoards |
|
Thread 19 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Pelagian | Calendar VCL with multiple date displayI have written a little programs that keeps information on relatives and friends and I would like to show on the current month's calendar all the dates on which birthdays may fall.
Is there a free Calendar component for Delphi 7 (or upwards) that allows for the display of multiple dates.
|
 3805 Hits |  Pascal and Delphi Coding |
|
Thread 18 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Wes Peterson | RE: Calendar VCL with multiple dat... |
 |  Pascal and Delphi Coding |
|
Thread 17 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Daniel Kram | Existing Member IntroI found Prestwood several years ago but I never introduced myself.
My name is Daniel and I've been coding in Delphi on and off, but mostly on, since 1997. At the time, COBOL and BASIC was what I was coding in a client-server environment, before most people even knew what nTier architecture meant. Heck I didn't know, but was doing it.
Someone in another department came up to me, presumably after seeking permission from my manager, and asked if I knew Delphi. I said, knew what? Having never heard of Delphi I said no, but was anxious to do something new, so I was transferred to the other department.
I didn't what the future was for Delphi and it wasn't to be a .Net, however, Delphi has found me and paid me well over the past decade point five.
Take care and talk to you later.
|
 3431 Hits |  PrestwoodBoards |
|
Thread 16 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Wes Peterson | WelcomeHi Daniel,
I've seen some of your posts before, but thanks for the intro. My experience isn't unlike yours. Before Delphi, I was coding mostly in C and C++; also client-server systems.
I attended a show in San Francisco where Borland was handing out pre-release disks of Delphi 1. I installed it and started playing. I wasn't eager to learn a new language, but once I saw the power of Delphi's RAD environment, and OOP without pointers galore, I never looked. Seriously. I haven't written a line of C or C++ since.
Delphi's been very good to me. Times change, though, and we're getting more and more calls for Web applications, so I'm now deep into Visual Studio and .NET. There's much to like about this newer technology, but Delphi still feels like "home."
Wes
|
 |  PrestwoodBoards |
|
Thread 15 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Wes Peterson | First Time Delphi Developeranas,
What Daniel Kram has described is a very sophisticated system or "framework" build with; or "on top of" Delphi. His is a generous offer and It may, or may not, be useful to you.
You mentioned that you are a "first time" Delphi programmer. We all were at one time or another.
Now, I can almost promise you that, even if you had all the code to Daniel's product, you'd have trouble making the most of it before you have better developed your foundation Delphi skills. I recommend starting at the beginning and working through the tutorials that come with Delphi.
Also browse the web for "starter" projects.
|
 |  Pascal and Delphi Coding |
|
|
|
Thread 12 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Wes Peterson | RE: Need BDE replacement{Too Long!} |
 |  Pascal and Delphi Coding |
|
Thread 11 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 ckerscher | Need BDE replacementAm using CodeGear 2007 Win32 with dBase, ACE Reporter, Woll2Woll, JEDI components; therefore I have a lot of TTables and TQueries throughout my program. My applciation runs on a 2003 server with XP workstations. The response time to access data (retrieve, post, do SQLs) is horrible. The users are demanding something better. But I don't know what is better. And I don't know what the ramfications are in changing to something better.
I sincerely hope that someone can give me recommendations as well as address the difficulty in changing to another database.
Thank you so much,
Charlie
|
 8778 Hits |  Pascal and Delphi Coding |
|
|
|
|
|
|
|
Thread 4 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Wes Peterson | Good Catch DanGood catch, Dan.
Just my two cents, but after decades in this business, I've formed a habit that saves me a lot of grief. I do not put spaces in the names of anything:
Not in folder names,
Not in database table names, and
Not in database column names.
I know, spaces are "legal" in these places, in many contexts. But spaces get you in trouble in some places or, at the very least, force you to quote the names of things in various contexts.
This is why God created two things:
1: CamelCaseSpellingOfEntityNames, and
2: The_somewhat_uglier_but_still_effective_underscore_character
|
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 3 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Wes Peterson | Possible starting pointI have not tested this idea, but it can't hurt to try:
Does your application's main form have an OnCloseQuery event handler already defined?
If not, create one. And if you already have one add code that'll pop up a message dialog that simply says "Somebody is trying to close me."
With that in place, run your app, then shut down the OS without first shutting down your application.
If your message dialog displays, you now have a place where you can respond to an external shut-down message.
|
 |  Windows Users |
|
Thread 2 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 andyhud | WIn NT 4 (Service Pack 6) - Window MessagesRE: Delphi application - probelm area Win NT messages, , I'm having to check if my application , has been closed with a reboot/shuit down or with the user interactive and clicking close, , I have managed to capture messages that are being sent to my app and it appears as though the following messages are sent on a shut down...., , $00B001(45057) and, $00B01A(45082), , I cannot find a definition of these messages anywhere - does anyone know exactly what they are??, I appear to get the B001 5 or 6 times and then a B01A., , Any help appreciated. |
 4507 Hits |  Windows Users |
|
Thread 1 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 owen.moore | Can anybody help me with getti...Can anybody help me with getting a directory file listing into a listbox so that I can programatticlly go through the listbox and put the filenames into a database
they Database part is not causing me any trouble
I can get it into a dirlistbox but can not use that to then post certain of the file names to the Database
any help is most appreciated
Owen
 Wes | Hi Larry,
Thanks for the great post putting some meat on the bones of my suggestions. There's nothing like good sample code to get one started. I wanted to post some, but time didn't permit. Glad you did.
|
|
 4190 Hits |  Pascal and Delphi Coding |
|