Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>I have one question for you. How did you handle things like "THISFORM...." reference from the prg file? Didn't you get and error message such as "Thisform can only be used within a method...."? or are you capturing the form object to a variable and reference that varible?
Yes, you will have to modify the code here. One option is to pass THISFORM to every function called from the form.
One point, is it possible that this code did not belong in the form anyways? Just thinking in tiers here. Maybe instead of putting code in PRGs, how about in a non-visual object's methods?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement