Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing A Property Fires the _Assign
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Accessing A Property Fires the _Assign
Divers
Thread ID:
01234049
Message ID:
01234049
Vues:
46
Try this:
SET STEP ON 

oForm = CREATEOBJECT("myForm")
oForm.Show()

DEFINE CLASS MyForm AS Form

    PROCEDURE Show
	
        IF This.Height = 50
        ENDIF
	
    ENDPROC

    PROCEDURE Height_Assign
        LPARAMETERS nHeight AS Integer
        WAIT WINDOW "Height_Assign called" NOWAIT
    ENDPROC

ENDDEFINE
When the IF This.Height = 50 line is fired, the _Assign code runs. nHeight in the _Assign
is 250.

What gives?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform