Subject Re: versatility of the Inspector
From Bruce Beacham <bbeacham@no_plm_lowman.co.uk>
Date Wed, 28 Oct 2020 22:20:20 +0000
Newsgroups dbase.getting-started

This is available in the IDE or in a compiled app:

set proc to :dUFLP:kminspector.wfm
inspectobject(_app)


Bruce Beacham

On 25/10/2020 21:38, Gaetano wrote:
>
> Hi All,
>
> While looking at a Help entry recently I realized that the Inspector is
> not only available in the designers but also as a standalone command -
> inspect(<object>) - that can be used with any object even during program
> execution apparently.
>
> I had never heard anyone suggest to use Inspect(), it may be that
> everyone knows this and uses it or that it is one of the little known
> features of dBase.
>
> I have many time thought about how to get to know all the available
> properties or events of an object, especially after someone on the NG's
> told me about a property I had no idea existed, and this seems to be the
> answer to it.
>
> I tried it on the command line on the _app object and it returned an
> inspection window with a variety of info like the character set, iniFile
> location, currentUserPath...etc., including a custom property that I had
> just created to check if it would be listed.
>
> So is anyone using this regularly? and if so, in what context do you
> find it useful?
>
> Cheers,
> Gaetano.
>
>
>