Jump to content

Freeeee

Members
  • Content Count

    48
  • Joined

  • Last visited

Community Reputation

1 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Freeeee

    IDE cant find address in dot proj file

    thanks Anders. didn't know about the ctrl+c shortcut.
  2. Freeeee

    IDE cant find address in dot proj file

    Never thought about using Print Screen. don't think I've ever used it. tried it and it took a snapshot of the whole screen it's attached. Control+C generally requires you highlight an area with the mouse before you use Control+C nothing in the popup box or on the Delphi start up screen can be highlighted with the hold left mouse button and swipe with the mouse. I'm clicking the word "Project1", which is next to the spartan logo where it says "Open Recent" and it's the top project. Top Center of the Center portion of the startup Welcome to Delphi page. The question is What Path can't the IDE find. if you hover the mouse over the project1.dproj field another smaller box pops up with the same "C:\Users\xxx\desktop\New Folder\project1.dproj," --- which IS the correct path and file name. IS this the Path the IDE can display in a pop up box but that it can;t 'find' when you click on it?\ I thought it might be a path inside of the project1.dproj file. which is why I asked about the URL in the first line. Am I working in the wrong directory/folder by using desktop folders??? It's not a big deal, just annoying and I thought someone on the forum might know. I can use the "Open" on the FILE pull down and it's generally pointing at the correct folder anyway. depending on my last usage I think.
  3. Freeeee

    IDE cant find address in dot proj file

    The popup msg box in delphi is not sensitive to any mouse or keyboard controls that I know of.except the enter key when OK lites up and the box disappears. You can't take a screen shot of it either. However I can type it for you probably with a few msitakes. red circle with I in it. Unable to load project C:\Users\xxx\Desktop\New Folder\Project1.dproj Error reading"C:\Users\xxx\Desktop\New Folder\Project1.dproj" Cannot open file "C:\Users\xxx\Desktop\New folder\Project1.dproj' The system cannot find the Path specified. do you have any more information now than you did before?
  4. Freeeee

    IDE cant find address in dot proj file

    clkng on load project give me the message that Delphi IDE can't find the path to a file. lookimg in the dot dproj file shows http://schemas.microsoft.com/developer/msbuild/2001 as the first line putting that into the web browser produces " The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. " Is this the "Path" to what the IDE is looking for. If I used OPEN/project1.dproj it loads fine.
  5. Freeeee

    String Grid

    never heard of either. Will look for them. Turbo pascal & Delphi was done on my own time. I was originally an Intel assembly language programmer starting back with the Z80 and 8086 . Among other titles.
  6. Freeeee

    String Grid

    thanks again!!!! 🙂 I've learned more in the 1st chapter of this book that I have in 2 months of trying to make my way thru the documentation on Embarcadaro's web page. Wifi and Ebooks on Kindle are fast.
  7. Freeeee

    String Grid

    thank You very much, Renate. Using the Info you gave me in the 1st post I did move the variables into global which made everything but the last push of the button going up, work. just as you did I used the B variable as the 'special case' and the whole thing worked fine. putting variables in the PFR file didn't occur to me. It's difficult to get the IDE to load toad it. I had decided that the IDE didn't 'want' you to change that. I had been editing the text version of the Form and determined the IDE definitely does not want you 'efn' around with that. However I still find it the easiest way to line up objects on the form. but if I do eff it up, I might as well start over. I get errors that I can't fix and can't figure out why they're errors. Something about hidden variable Remy said. I find working in the IDE very strange with all of the popups right over what I'm typing. I realize that the popup are so I can seleect from them what I'm typing but I could type it faster/sooner if it wasn't in the way. and the mouse clk to remove the popup moves the damned cursor where I was typing. Like you, I read the turbo pascal and early editions of Delphi (up to 5) cover to cover . My eyesight was a lot better then and the delphi 5 paper back from SAMS if I recall correctly was huge. must weigh 4 pounds The whole concept of a local variable 'going away' when you left the called procedure was never considered. We EXPECTED and counted on that Not happening. Quite an adjustment for me . It's why I've asked two or three times now, in this forum if any one has written a Delphi Cook Book with all of the reserved words explained and used in a non-trivial way. If you know of one, please let me know. If it';s a PDF file I can read it in my browser and adjust the font so I can read it. (need at least a 16 font for me) Before I get too long winded here. Thanks again for the great examples. I will study them. and learn. I can tell that my recreation of a genealogy program I wrote in Turbo Pascal in MSDos on one 22 by 80 character screen is going to be a lot harder than I thought.
  8. Freeeee

    String Grid

  9. Freeeee

    String Grid

    Newbie exploring string grid. simple program w string grind and a button. and 3 debugging labels. grid is 5 col 20 rows expanded (testing dynamic changes) to 6 col Populated with row and column titles, then populated with test data. Wanted to have a way of 'selecting' a specific row. each button push advances to the 'next' row. supposedly saving the contents of cell[1, row] and replacing it with '***' + original string in that cell. Next button push intended to restore original string and advance to next row. code for unit attached. my comments are in the code. row one (special case) works fine except the original string is not restored to the cell. should be exactly the same string I moved to a local variable 'S' on the 1st button bush but doesn't appear to be. I've read you can change the color of a single Cell in a string but haven't been able to find where I read it. changing the color would actually be better if it's possible. Unit2.pas
  10. Freeeee

    what wrong with this function?

    TOO ALL who answered. Remy is absolutely correct. I was trying something stupid and it didn't work. I thought if I could figure out why the IDE/Compiler got stuck there I might be able figure out how to fix it. And the problem was in the dot pfm file. which are part of the 451 lines above the problem. Thanks for pointing me to those URLz , Remy. They did help. Thanks everyone. I'll refrain from stupid questions... well.... I'll Try to refrain from stupid questions in the future. I've noticed that the Format the code option gives you a kind of Ominous warning. When some one asks you "do you 'Really' want to do this?" it made me think.."hmmm .... maybe not.'
  11. Freeeee

    what wrong with this function?

    code was from ? 2000,. Worked then. There wasn't a reserved word "Result" so you used the function name at the end of the code set equal to whatever variable you were using to get the results. Function doSomething: Integer; var X : integer begin X := code to do something; doSomething := X; end.
  12. Freeeee

    what wrong with this function?

    Yes, I am running MSDos, AND Window XP And Window 10 and my game machine is a Win 11. Emulators are great, if you can remember which system your in. but I don't like side kick at all.
  13. Freeeee

    what wrong with this function?

    thanks Remy agrees that I've screwed up something higher up in the code so the compiler is confused. I'm still 're-' Learning. 🙂
  14. Freeeee

    what wrong with this function?

    Hi the function worked perfectly in Turbo Pascal when I first wrote it. then you used the name of the function to return the value. and Yes I could use Result rather than function name. but the question was why is the compiler finding these errors (that are not errors). Why did this function Pass in 2 other Units but not this one.
  15. Freeeee

    what wrong with this function?

    Is there some reason for using Non-Static as opposed to Active or Dynamic when talking about classes? What I'm understanding is any Procedure code generated from the Tform by some action (like a mouse clik) is in the TForm class. so as long as you do ALL of your coding inside one of those procedures you don't have to qualify back to the TForm. But if you call something like a WriteRecord procedure that was NOT generated by an action in./of/on the form you do have to qualify because you;ve gone outsife of the scope of the TForm class. or are the nuances ?? like hierarchy rules. Is it "You know when your outside of the class scope when you have to qualify". or is there an easier way?
×