I'd always prefer to do something natively in VFP, if possible. I've avoided ActiveX controls partly because of the hassles of installation and registration, but I guess I'll give those controls a look, assuming I install SP2 (which may be required for those controls, but I might have seen someone here say it's not, so I just don't really know, yet).
>The new DBi controls as demoed by Toni Feltman at SW Fox should deal with this seamlessly. Just another option you may want to consider!
>
>Carsten
>
>>>>I have a toolbar button over which I need to place a shortcut menu when the button is clicked. The code that will display the shortcut menu is in a form. Using MROW() and MCOL() cause the menu to display over the form, not the toolbar button. How can I get the shortcut menu over the toolbar button? It would seem be doable via AMOUSEOBJ and a little adjustment of the numbers based on the position of the toolbar, but at present I'm not getting the desired results.
>>>>
>>>>Thanks,
>>>>
>>>>Russell Campbell
>>>
>>>See if the sample from this page
http://www.berezniker.com/display/VFP/Pixels+and+Foxels can be used to achieve your goal.
>>
>>Thanks - knew it was doable. I got the "column" position working perfect but the "row" position was not cooperating. But this worked:
>>
>>r = 0
>>c = Pix2Fox(taMouseObj(3) + taMouseObj(2).Left)
>>
>>where taMouseObj is the array populated by AMOUSEOBJ
>>
>>UPDATE: And thanks to Sergey.