Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return from class not working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01450967
Message ID:
01450983
Vues:
29
Thanks a lot Craig, I had to change some code because I was releasing the class on close changed it to release oAttend in the calling method. Works great.

>The Show method does not return a value.
>
>Try this:
>
>oAttend.show(1,psDbf,psClass,psCity,psBldg,psRoom,psMo,psDay,psYr,psTime)
>llUpdated = oAttend.plUpdated
>
>
>
>>I cannot get a correct boolean return value from a form class, it is always true. This is the code:
>>
>>oAttend unload event = return Thisform.plUpdated
>>
>>llUpdated = oAttend.show(1,psDbf,psClass,psCity,psBldg,psRoom,psMo,psDay,psYr,psTime)
>>
>>The value is False in the unload of the form class but changes to True when returned to the calling form class. Yes, the window type is modal. Any ideas?
>>
>>Thanks, Chuck
Extreme Programming = Plan -> Design -> Code -> Test
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform