Try this:

- Add a new method to host, call it “ProxyMethodGetNames" and make it ‘shared 
between host and components’, with the following code:
>   C_Pointer($1;$arrNames)
> 
>   $arrNames:=$1
>   METHOD GET NAMES($arrNames->)



- on your component, replace METHOD GET NAMES call by: 
>   ARRAY TEXT($aMethodNames;0)
>   EXECUTE METHOD(“ProxyMethodGetNames”;*;->$aMethodNames)


That should do it… (edit at will)

That technique, where you use a host method as proxy to obtain info not 
available to components works great. It may fail with some special 4D commands, 
but has worked for me with all those I tried.
Give it a try.

julio

> On Jan 18, 2018, at 6:22 PM, Kirk Brooks via 4D_Tech <[email protected]> 
> wrote:
> 
> Doesn't look like it but maybe there is something I'm not thinking of.
> 
> Thanks!
> 
> -- 
> Kirk Brooks
> San Francisco, CA
> =======================

--
Julio Carneiro
[email protected]



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to