Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HIghlight bar in grid...
Message
De
27/04/2000 16:24:44
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
 
 
À
27/04/2000 13:59:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00364194
Message ID:
00364272
Vues:
35
John....

I downloaded the two files you suggested. Thanks... I'm sure they are going to help me learn the oop side of fox!

From 89 - 93 I did development in dbase clipper and fox. In 93 I left programming to try other waters. Recent health problems have pushed me back into programming and I am finding that I have a lot to catch up on!!!!!

I'm "RE" learning fox and learning oop on your own is slow going. In the meantime I have a project that I need to get out. My immediate problem is this:

I've created a startup program that among other things calls my programs menu and sets the read events loop....

do mymain.mpr
read events

The menu comes up fine. The first pad on the menu call a procedure in my procedure file that adds information and uses a form I've created with the form designer. The forms name is patient and I called it with: do form patient (which according to the docs is supposed to create an object with the name of the form?)

When I tested the code the form came up fine (or so I thought) I entered test data and clicked my ok command button (the code in the click event was: patient.release) The program crashed with a object patient not found error and the data from the form was not saved into the table.

To see what was going on I put a wait command immediatly after the do form patient line. When I retested much to my surprise the form loaded and immediatly the wait message came up. When I pressed the spacebar the form loaded again. Without the wait it was loading twice so fast you could not tell it. What in the world is going on and how can I call forms from a menu.

When I created a simple test.prg with it's own read events it worked fine.

I'm sorry this is so long... there is just no simple way to explain it.

Thanks... Tom

P.S. Your invoice program is great! I did, however, experience one bug. When I clicked the options choice I got a frmOptoins.scx does not exist error message. I've looked for it in the folder it does not seem to be there.
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform