Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Glenn9999

    Firemonkey - catching Alt key + character with FromKeyDown

    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...
  2. Glenn9999

    Business Cases with 5.25 bays

    @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...
  3. Glenn9999

    Business Cases with 5.25 bays

    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...
  4. Glenn9999

    Business Cases with 5.25 bays

    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...
  5. Glenn9999

    cannot compile if using a public function in another unit

    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...
  6. Glenn9999

    Highlight a list of words in an rtf file

    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 :=...
  7. Glenn9999

    KeyPressed procedure

    This whole thing looks odd. You typically don't do console control with Windows forms. OP what are you trying to accomplish?
  8. Glenn9999

    Trying to strip LF and CR from a tmemo.

    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...
  9. Glenn9999

    Fujitsu Cobol Programming

    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...
  10. Glenn9999

    FileListBox behavior using Directory property pointed to network drive

    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...
  11. Glenn9999

    The regular programmer had a stroke

    >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...
  12. Glenn9999

    Combo Boxes question

    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...
  13. Glenn9999

    Now I really DO have a problem, - Sorting

    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...
  14. Glenn9999

    Writing PDFs

    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...
  15. Glenn9999

    Writing PDFs

    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...
  16. Glenn9999

    DVD Drive Ejection - Power Profile Issues?

    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...
  17. Glenn9999

    Sharing Source In Today's Age

    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...
  18. Glenn9999

    Sharing Source In Today's Age

    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...
  19. Glenn9999

    Fixing "Out of Memory" error

    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...
  20. Glenn9999

    Fixing "Out of Memory" error

    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...

Part and Inventory Search

Back
Top