Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_screen command
Message
De
22/04/1999 11:46:38
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
_screen command
Divers
Thread ID:
00211043
Message ID:
00211043
Vues:
60
I am trying to close all screen object in my program when the user clicks Exit. I am getting an error that says forms is not an object on the line after the beginning of the for loop. My code is below.

Please help and thanks,

Jim


private lndatspast
lndayspast = date() - ae.backupdate
IF lndayspast > bkdays
FOR I = 1 to _SCREEN.FORMCOUNT
_SCREEN.FORMS(i).release
ENDFOR
IF MESSAGEBOX("Warning: You have not performed a backup in " + alltrim(STR(lndayspast)) +" days." + CHR(13)+ ;
"Would you like to bakup now?",20,gcappname) = 6
DO form backrest
else
do exit_prg
ENDIF
ELSE
do exit_prg
ENDIF
Thanks

Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform