Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Assign code firing on an access
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
_Assign code firing on an access
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01479075
Message ID:
01479075
Views:
189
Today, while tracing some code, I noticed that when I was referring to a particular property (accessing it, not assigning it), its _assign code was firing. Odd. Anyone seen this before?

Here's the code:
with this
	.Top   = .Parent.Height - .Height
endwith
I'm setting the Top property for the object and it's based partly on the height of the parent. As you can see, all I'm doing is accessing the parent's height property, yet on this line of code the parent's Height_Assign method fires. Any thoughts on this would be appreciated.

Russell Campbell
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Next
Reply
Map
View

Click here to load this message in the networking platform