I think you have to create the instance from the command prompt and attach
it to a global variable, like _screen, then intellisense will kick in when
you are in the programming window.

John

-----Original Message-----
From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf
Of MB Software Solutions, LLC
Sent: Wednesday, July 18, 2012 2:58 PM
To: ProFox Email List
Subject: Re: What was that old trick for getting Intellisense to work in a
PRG class with THIS. references?

But that doesn't work when I'm writing/creating code and using THIS.

For example, if in a method in my class I want to write
   IF THIS.SystemName = "ABC" THEN
       messagebox("Rock on, man!")
   ENDIF

...and I want Intellisense to kick in right after I type "THIS."

See what I mean?  I want to use THIS.

Thanks,
--Mike


On 7/18/2012 3:47 PM, Richard Kaye wrote:
> LOCAL myvar AS [myclass.myobject]
>
> You have to have "set classlib to myclass" in scope.
>
> --
> rk
>
> -----Original Message-----
> From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com]
On Behalf Of MB Software Solutions, LLC
> Sent: Wednesday, July 18, 2012 3:39 PM
> To: profoxt...@leafe.com
> Subject: What was that old trick for getting Intellisense to work in a PRG
class with THIS. references?
>
> VFP9SP2
>
> I've got a PRG based class that I'm writing and I want Intellisense to
kick in for "THIS." when I'm writing procedure code.  I can't recall the
trick.  Was it with a #DEFINE or something?  Remember -- this is not the
instantiated object I'm talking about...rather, I'm writing the class code
itself.
>
> Thanks,
> --Mike
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/03f701cd6523$61913760$24b3a620$@shelbynet.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to