Subject Re: versatility of the Inspector
From Gaetano <gaetanodd@hotmail.com>
Date Mon, 26 Oct 2020 11:17:41 +1000
Newsgroups dbase.getting-started
Attachment(s) 2020-10-26 (2).png2020-10-26 (3).png2020-10-26 (4).png

On 26/10/2020 08:05, Lee Grant wrote:
> I could be wrong, and if I am and you can tell me how to do it during
> runtime, I'd appreciate it. :)

see screenshots, it works in a PRG file and in a form, just insert
"inspect(oObject)" anywhere in the code and the window pops up without
halting the PRG or form execution.

I only tried it on a file object but I would think it works the same on
any object.

If by runtime you mean "in a compiled executable", then speak to that as
I have no ready to use code in a compiled exe that I could test with.
All I can say is that Help only refers to development time, i.e. in the
IDE I would think.

From Help:
Description

Use INSPECT( ) to examine and change object properties directly. For
example, during program development you can use INSPECT( ) to evaluate
objects and experiment with different property settings.

The Inspector is modeless, and doesn't affect program execution.


Cheers,
Gaetano.