Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you tweak the GETEXPR function?

Status
Not open for further replies.

ron108

Programmer
Jun 19, 2002
14
US
How or Can you alter the VFP GETEXPR()?

I need to make some small changes and am trying to avoid reinventing the expression builder.
 
There are a few tweaks available.

Look up GETEXPR, _getexpr,
Expression Builder Dialog Box, and
Expression Builder Options Dialog Box in the help.

You can write your own and point the VFP system variable _GETEXPR to it.

i.e.

_getexpr = "YourExpressionBuilderProgram"

YourExpressionBuilderProgram.prg, app

... Code, Code, Code.

-Or-

Write a wrapper class/prg that has global scope
and is invoked by some slightly different syntax
such as - MyExprBuild(arguments).
After it pre-processes you're info, it could invoke the default builder.
(this presumes the system variable is left blank)


I started writing one a while ago and never finished.
I took as a basis the standard one and went from there.
I just stopped because I wrote so many other tools that
is became unnecessary.

Have fun!


Darrell
'We all must do the hard bits so when we get bit we know where to bite' :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top