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:
00304380
Views:
18
>Hi Al,
>
>>In the RightClick() method of a grid subclass I define a popup, and direct the seletion to call GridRowPop(), a method in the same grid, passing it the number of the bar seleted.
>>ON SELECTION POPUP GridRowPopUp THIS.GridRowPop(BAR())
>>When I run the form and right click the grid I am told THIS can only be used in a method.
>
>In the method where you actually show the popup, put this before hand:
>
>PRIVATE poThis
>poThis = This

>
>Then use "poThis" instead of "This". Does that help? Also, for popups I use Doug Hennigs approach which involves the FFC class and is described in one of his FoxTalk articles (try the article index at www.pinpub.com/foxtalk/ for which one).

Thanks Mike, I'll give it a try and check the articles, Al\
Previous
Reply
Map
View

Click here to load this message in the networking platform