Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing A Property Fires the _Assign
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Accessing A Property Fires the _Assign
Miscellaneous
Thread ID:
01234049
Message ID:
01234049
Views:
47
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
Next
Reply
Map
View

Click here to load this message in the networking platform