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
Divers
Thread ID:
01234049
Message ID:
01234056
Vues:
12
It's known issue/bug with Top, Left, Height and Width properties.

>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?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform