>>>The first workaround that comes to mind would be to get a reference to the object you are addressing - if it's some sort of a cell, >>and if you could get
>
>>>oCells=control.Cells(lnHandle)
>
>>>or something like that, i.e. something that would give you the object retrieved via the handle, and then you'd just address the cells >>inside that object without the need for three parameters. Analogously to having a reference to a range in Excel, and then going >>oRange.Cells(...) instead of oSheet.Range("some name").Cells(...), even though the latter works, even with more parameters, so I >>wouldn't say it's Fox. Though, Office may be a special case. Theoretically, it's possible that once upon a time the Office and the >>VFP teams were allowed to meet.
>
>Thanks Dragan, I thought of that and asked the txText control guys, but they say no it's not possible. Also tried to see it there as an equivelant to ActiveCell but no joy.
The next thing to try is to fire up is the object browser, and then a getinterface() based on what it says. Did it once, three years ago, with the WPCubed's RTF/Html editor control (and actually the author found that trick, after reading VFP help - herr Ziersch was unbelievable). Using that, I managed to get an interface to objects which weren't otherwise exposed. It was tricky, but the results were above what I hoped for.