General information
Category:
Forms & Form designer
>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.
Thanks Jim, I suspected it was something like that but could not get it to go. Now I understand.
Mike's suggetion worked fine.
Thanks again, Al Allison
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only