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 Wanet Telecoms Ltd 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: *

  • Users: fmoore0001
  • Order by date
  1. fmoore0001

    Using the VFP Debugger

    Actually, maybe I am asking too much. Let me describe. I am in a form, in a method called SAVE. 1) I want the debugger to start, with the trace window. 2) I want to step through the method line by line and see what is happening. So, what command do I put at the start of the method to open...
  2. fmoore0001

    Using the VFP Debugger

    Guys, I have never been a big user of the VFP debugger, but I want to use it more. I am more familar with the old Clipper debugger, which I found very useful. Is there some suggestions on using it in a test program, how to start the trace window, close it on the fly, etc. Maybe a FAQ sheet...
  3. fmoore0001

    Preventing Multiple Instances of a Visual Foxpro Program

    Craig, thanks for the info. I will take a look at all of them. I was have liked (so far) about Ramani's routine is that 1) it lets me set up different programs easily, 2) Is very simple and 3) it works exactly like I have wanted it to. Does anyone no of cases here Ramani's program does not...
  4. fmoore0001

    Preventing Multiple Instances of a Visual Foxpro Program

    Opps. Did a FAQ check and found my answer in Ramai's excellant little addition to my program, as noted below and found in FAQ 184-839. It worked the first time and every time. And, whenever I close the one instance and then start another, it starts everytime. Perfectly. =myInstance("A name...
  5. fmoore0001

    Preventing Multiple Instances of a Visual Foxpro Program

    Guys, you all were a big help to me in developing routines to prevent multiple instances of a modeless form from running. Now, a another question. How do I prevent multiple instances of a Visual FoxPro program from running? The legacy program I am working on can have multiple instances start...
  6. fmoore0001

    How do you RENAME a form with grayed out name

    I found a solution for my problem and it is in: thread184-794453 Thank you for all your help. Frank
  7. fmoore0001

    How to Detect if a Form is Open

    Guys, I want to thank everyone here for all their input. I finally decided on a different approach that works very well based on a number of suggestions: First, I had to accept in this program that the former designer based the forms on a few classes. All of the classes when used as forms are...
  8. fmoore0001

    How do you RENAME a form with grayed out name

    Marcia, I think you just solved a million dollar problem. Now, how do I get around checking for forms that do NOT have the cFormID as a property. Is there a way in the form to precheck if a form has a particular property existing? Frank
  9. fmoore0001

    How do you RENAME a form with grayed out name

    Guys, I have a question on a thread that started earlier. I have a form with a grayed out .name property, apparently from a class. I cannot change the .name property, but would like to as the class is used to create multiple forms, all with the same .name. Any idea how I can rename these...
  10. fmoore0001

    How to Detect if a Form is Open

    It would be, but I cannot CHANGE the name property on these forms. It is locked in some way. I believe it is because a class was used to develop them, and the forms are keeping the class name 'form1'. If that were true I could just use WEXIST(). Anyone have an idea to make the name of the...
  11. fmoore0001

    How to Detect if a Form is Open

    Kosta, thank you for the try, but my problem is that the NAME of the in this code is not editiable- seems to be set in a class aforehand, and so the name (Form1) is the name of several forms that may be open at the same time. You code will not work as name has to be the name of several forms...
  12. fmoore0001

    How to Detect if a Form is Open

    I think I need to revise my question. How do I detect if a FORM has been opened as in a DO FORM <formname>. Foxpro does not appear to have a function to do that. I want to see if the FORM by FORMNAME is currently open. Frank
  13. fmoore0001

    How to Detect if a Form is Open

    Uhoooo. For an interesting thing. My check of: _SCREEN.Activeform.name give a name of FORM1 the form saved as History. What name does WEXIST check against? Frank
  14. fmoore0001

    How to Detect if a Form is Open

    I am have some trouble with the forms trying jimoo's suggestion. I wanted to have the form found and a duplicate warning issued, so I wrote the function: FUNCTION FormOpen LPARAMETERS cScreenName LOCAL lFound lFound = .F. IF WEXIST(cScreenName) lFound = .T. WAIT "This...
  15. fmoore0001

    How to Detect if a Form is Open

    No, I am assuming, say, 10 forms are open, the form is not the active one but I do not want to open it by mistake again. Frank
  16. fmoore0001

    How to Detect if a Form is Open

    Guys, does anyone have a simple routine to detect if a form is open? I would to say: IF NOT Formopen("History") DO FORM ("History") ELSE WAIT "History Form is already open..." WINDOW NOWAIT ENDIF Nothing I have tried seems to work to make Formopen() Frank
  17. fmoore0001

    Keep Losing Data Environment

    Thank you for the big test. Mine reports: Default Data Session: Can See it. Private Data Session: Cannot See it. Was this supposed to happen? Frank
  18. fmoore0001

    API Exception Error with BEAUTIFY - Partially Solved

    Guys, I did ask some time ago about why when I ran BEAUTIFY on some forms and prg files I would get an API Exception error, but not on others. I have found at least one reason. If you use the prefix 'm.' for memory variables in your code the BEAUTIFY program will fail every time. If you...
  19. fmoore0001

    Keep Losing Data Environment

    Mike, here is the wierd part. You said: Are you launching the modal form from the modeless form? If so, and if the modal form has a default data environment, it will &quot;inherit&quot; the data environment from the modeless form. That is exactly what I thought. Yet, I can verify that as soon...
  20. fmoore0001

    Keep Losing Data Environment

    This is indeed driving me nuts, now. The PRIMARY (modeless) form is set to a private data session with a data environment all set. It opens and connects the tables without problem. Next and Previous displays show appropriate movement in all tables. Yet, when I move to another form from the...

Part and Inventory Search

Back
Top