I presume "KeyAltDown" is something valid, and you're intending "IsKeyAltDown". Regardless, you can simplify this a lot compared to what you have. It does seem that "C" versus "c" matters in how the key sequence is read.
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
Shift...
@MiggyD
I read your post and think about what I've found shopping and it seems like maybe the desktop PC makers are shifting to "gaming" because a large enough number have jumped onto laptops and phones that they think they can't sell parts any other way. I'm guessing "Business Centers" are...
A Google search shows loads of results of cases that have the active light show stuff. Beginning to think I'm just gonna have to put up with a computer competing with the circus. But the problem with the 5.25" bay part is that they're mostly being phased out from what I can tell, and really...
Is the named thing in the subject even a possibility any more? I'm looking at an upgrade and primarily finding stuff you can't use optical disc drives in any more. I guess you gotta buy a low-speed external USB interface drive you gotta kick around that's always in the way? Plus, they have...
Sounds like a lot of what you're struggling with is more knowing what the proper contexts are of things within Delphi. Specifically, you seem to be confusing a lot of OOP concepts. To that end, there's no "understanding of using the public area" per se. It's understanding how everything works...
RTF is pretty different. I cobbled together this from a help file example. It's basically like selecting / finding text in a normal notepad, but then changing the attributes around on the found text.
procedure TForm1.Button1Click(Sender: TObject);
begin
FindDialog1.Position :=...
CR/LF is part of how a text file is defined and any text control is going to use those as determinants in how to display the data. So you're not going to get any traction trying to look for them in a TMemo. What you basically need to do is load the file as a binary file and then strip them out...
Do you have a manual for Fujitsu COBOL? That said, if you're on PC, you need to do something like this for files:
SELECT KJV12 ASSIGN TO "KJV12.TXT"
ORGANIZATION IS LINE SEQUENTIAL.
FILE SECTION.
FD KJV12
Record Varying in Size from 1 to 80
Depending on WS-Char-Cnt
BLOCK...
If I'm not missing something somewhere, these are very old Windows 3.1 era controls. You can set these things on run-time, but you have to have a TDriveComboBox, TDirectoryListBox, and TFileListBox present and all these things linked together in order for them to work as one would generally...
>The regular programmer had a stroke, he's not coming back and my friend is looking for a replacement. In the meantime, I'm stand-in. Not bad when you get a chance at 80 to re-hone your programming skills, I suppose. Problem is that things have moved on so I'm playing catch up for a while.
I...
The typical way something like this is done is creating the constant array of items with an index range consistent with the combobox and then referencing that. Use OnChange of the Combobox to set this itemcode value from what is selected in the combobox.
Of course this changes if you're...
If you're wanting to copy an item out of a ListBox into a string, you have to do something like this:
if ListBox1.ItemIndex > -1 then // exception: Nothing is selected.
Label1.Caption := ListBox1.Items.Strings[ListBox1.ItemIndex];
I'm guessing your code is assigning some garbage to QString...
If it's got what I need (basically where I can get a TPrinter clone going), it'll be great. Optionally I want to see if I can open saved PDFs, grayscale them (basically an "ink or toner save"), and then print them, but that's another project altogether. Not really wanting to do a whole lot...
I'm not really finding any specific resources on this (it's basically stuff connected to off-the-shelf document creators and other stuff for money). Is there a simple reference for writing PDFs out there where I could turn out simple bitmap paged stuff (ala the "printer" unit)? Even a good...
I've run into a DVD drive that won't open upon pressing the eject button or using the software option. It thunks a number of times, but will ultimately open after a number of attempts (usually when the light on the front of the drive flashes). I'm not seeing a reference to this problem, so I'm...
Thanks. For right now, it'll take a while to go through everything I have and clean it up. In the process, I'll need to add any license headers, check for stuff I copied off the Internet, and so forth. Mainly just trying to figure out what kind of work I need to do more specifically to do...
I've been thinking about sharing some source to some random demo projects or just some general coding experiments I've done, like all the stuff I posted to the FAQs here. Mainly thinking of getting a lot of the stuff I have here out there so it doesn't just go away. I've looked around the web...
I remember retro-fixing a copy of FastMM3 (I think) for some reason a long time ago (the answer to your question is "No") which I could use. I'd like to be able to throw a lot of the fixes I've found and done into D3 on a more permanent level, but really don't have that kind of knowledge...
I'm getting an "out of memory" error when I'm running some of my programs as of late (Delphi 3 still if that matters). What I'm thinking is perhaps because I'm creating and destroying an object/class multiple times, which does that with several TStringLists in turn. I'm not seeing where I'm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.