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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by doctorjellybean

  1. doctorjellybean

    Can one Drag and Drop onto a FileListBox?

    Apologies, I solved this late last night. I didn't add "DragAcceptFiles( Handle, True );" to the code.
  2. doctorjellybean

    Can one Drag and Drop onto a FileListBox?

    No matter what I do, it doesn't seem to allow a e.g. a file being dropped onto it. Perhaps it is the wrong approach, but I want to drag and drop so that a user can drop files into the directory assigned to the FileListBox.
  3. doctorjellybean

    Searching for Uppercase characters in a string

    Thank you, that works!
  4. doctorjellybean

    Searching for Uppercase characters in a string

    Thank you. Unfortunately, my knowledge of that kind of coding is virtually non-existent. So I'm still in the dark :)
  5. doctorjellybean

    Searching for Uppercase characters in a string

    I would greatly appreciate it if someone could provide a function to search for Uppercase characters in string, except the first one. This is what I need to do, search for Caps in a string, and when found, insert a space in front of it, e.g: TheFantasticCollection to The Fantastic Collection...
  6. doctorjellybean

    Code to display current date and time in UTC format?

    Thank you. However, I need to display it like this: 2013-02-02T11:25:17Z
  7. doctorjellybean

    Code to display current date and time in UTC format?

    I need to obtain the current date and time in UTC (ISO 8601 extended) format to save it to a file like this: "2013-02-02T11:25:17Z" Would like the complete code (I do apologize for this, but my knowledge of this kind of programming is virtually zero [blush] ), e.g. a Button1OnClick event...
  8. doctorjellybean

    Display text between brackets in an EditBox?

    Thank you, that works now. Now I just have to figure out the loop and to write it back to the memo.
  9. doctorjellybean

    Display text between brackets in an EditBox?

    Thank you again. The code seems to work (that is the app runs without any errors), but nothing appears in the editbox. I've uploaded the project and a sample file which contains the data the application looks for. This is a very simple project, just to test the search and display. As the...
  10. doctorjellybean

    Display text between brackets in an EditBox?

    I'll pre-define in the application which terms are relevant. All I'm giving the user is a label with an editbox. The reason being that not all terms might be present in the original file, so I would like to do a search for a term, e.g. "integer halttime", and if present display it's values in...
  11. doctorjellybean

    Display text between brackets in an EditBox?

    Thanks! However, I think I didn't explain myself very well. The original file that is being opened, has a number of entries: Now my application needs to search for e.g. integer displayinterval and display it's associated values in an EditBox. Same for the next search item. The values are...
  12. doctorjellybean

    Display text between brackets in an EditBox?

    The application should load the contents of a file into an invisible memo, and display the text between brackets in an EditBox so that a user can change it and save the file. The file itself contains a number of lines, but the ones I'm interested in have the following format: "integer...
  13. doctorjellybean

    How do I add an Undo procedure?

    It took awhile to think it out, but I managed it in the end. I basically assigned the last action to a string and then the Undo button deleted the matching string ListBox_Files.items.Delete(ListBox_Files.Items.IndexOf(lastoperation)); where lastoperation is OpenDialog.Filename which executes...
  14. doctorjellybean

    How do I add an Undo procedure?

    I have 2 listboxes: one which contains filenames and the other folder locations. A button is used to add a filename via opendialog to the listbox, while clicking on a listbox containing folders adds the folder. The selections work in pairs, e.g. Folder A goes with File A, Folder B with File...

Part and Inventory Search

Back
Top