VFPSP2 consuming C# (maybe version 3.5 or later?)
See screenshot: https://www.screencast.com/t/bb0Xfu2KuMpC
Is there a way I can have the C# guy somehow expose the properties somehow?
tia, --Mike
Mike, VFP debugger will show you the properties of those objects only when you select the object selve, not the parent of the object, which you have done in this picture Rgds, Koen
Op za 8 sep. 2018 om 16:21 schreef < mbsoftwaresolutions@mbsoftwaresolutions.com>:
VFPSP2 consuming C# (maybe version 3.5 or later?)
See screenshot: https://www.screencast.com/t/bb0Xfu2KuMpC
Is there a way I can have the C# guy somehow expose the properties somehow?
tia, --Mike
[excessive quoting removed by server]
On 2018-09-08 10:29, Koen Piller wrote:
Mike, VFP debugger will show you the properties of those objects only when you select the object selve, not the parent of the object, which you have done in this picture Rgds, Koen
Hi Koen,
Even if I select the object via single or double click, a dropdown will not appear and won't let me see the properties of the lower level objects. See soundless quick demo showing that: https://www.screencast.com/t/nYRe4eXp
Hi,
What happens when you set in your watch "This.Ions.Ions(1)" Please eplace the This with the actual object name you are "watching".
Remember you are watching objects which you have placed into an array.
Check also the code where you have populates the iOns array with the different objects.
Koen
Op za 8 sep. 2018 om 23:00 schreef < mbsoftwaresolutions@mbsoftwaresolutions.com>:
On 2018-09-08 10:29, Koen Piller wrote:
Mike, VFP debugger will show you the properties of those objects only when you select the object selve, not the parent of the object, which you have done in this picture Rgds, Koen
Hi Koen,
Even if I select the object via single or double click, a dropdown will not appear and won't let me see the properties of the lower level objects. See soundless quick demo showing that: https://www.screencast.com/t/nYRe4eXp
[excessive quoting removed by server]
The Attribute of [ComVisible(true)] is needed on the object you want to see the properties. Or just the properties/methods to expose to COM.
https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.c omvisibleattribute?view=netframework-4.7.2
I've used it recently.
HTH, Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com Sent: Saturday, September 08, 2018 5:00 PM To: profoxtech@leafe.com Subject: Re: Problem with VFP's debugger not seeing C# object's properties
On 2018-09-08 10:29, Koen Piller wrote:
Mike, VFP debugger will show you the properties of those objects only when you select the object selve, not the parent of the object, which you have done in this picture Rgds, Koen
Hi Koen,
Even if I select the object via single or double click, a dropdown will not appear and won't let me see the properties of the lower level objects. See soundless quick demo showing that: https://www.screencast.com/t/nYRe4eXp
[excessive quoting removed by server]