Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define a POPUP in a grid method
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00304356
Message ID:
00304438
Views:
23
Al,

Your ON SELECTION assignment is defined in memory and is attached to teh POPUP menu. The code does not reside inside of the grid object and therefore cannot use THIS as THIS is not defined for that code. You can use _SCREEN.ActiveForm.Groid1.GridPopup() because the _screen is a variable reference to the object and not a relative address like THIS or THISFORM.

You can use THIS on the line before or after teh ON SELECTIONbecause that code runs within the context of the grid object. The ON SELECTION code runs outside of the context of the grid object.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform