Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing THISFORM from a .PRG file
Message
From
11/02/2000 16:29:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Referencing THISFORM from a .PRG file
Miscellaneous
Thread ID:
00331088
Message ID:
00331088
Views:
62
I have a function "ConvMacros" in my procedure library. This function used to be a form method, but now I need to use it from multiple forms so I've moved it into my ProcLib.prg file.

How can I reference a property of the active form?

I.E.
IF THISFORM.OfferCredit
  * do something
ELSE
  * do something else
ENDIF
TIA
Next
Reply
Map
View

Click here to load this message in the networking platform