Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For each
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00902688
Message ID:
00902717
Views:
10
>Not it means oColumn did not found. It seem that oColumn deos not allow in for each..
>
>Regard,

Yes it does. I have code working in an app that does something very similar for Bindevent. Here's the exact code, which is in the Init of the grid:
FOR EACH oColumn IN This.Columns
   FOR EACH oControl IN oColumn.Controls
      IF UPPER(oControl.BaseClass) = "TEXTBOX"
         BINDEVENT(oControl,"GotFocus",This.Parent.oEventHandler,"txtGridGroupsGotFocus")
         BINDEVENT(oControl,"LostFocus",This.Parent.oEventHandler,"txtGridGroupsLostFocus")
      ENDIF
   ENDFOR 
ENDFOR 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform