Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dangling object reference - no object there
Message
 
 
To
30/08/2003 17:02:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00824796
Message ID:
00824887
Views:
16
Grigore,

It appears to be your use of the Objects[] collection that is causing the dangling internal reference.

However, if you use the Buttons collection instead it works just fine. Change your Enabled_Assign to this:
LPARAMETERS vNewVal

local i

THIS.Enabled = m.vNewVal

for i = 1 to this.ButtonCount
   this.Buttons[i].Enabled = m.vNewVal
endfor
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform