![]() |
![]() |
9 |
![]() |
The LA Fox Developer Newsletter
|
July 1997
|
Macro Files
(Con’t from page 8)
to handle the macro parameter.
What have we gained by using this setup? You still have to copy MacroL from project to project and modify it slightly for your macros that are specific to a project. For macros that are used in all projects, you now have a simple way to instantly add them to every project.
AND THERE IS MORE
That’s a pretty big improvement over the macro file right there but we can do better. What happens when we want a macro key F8 to build an EXE? We have to modify every MacroL program to add this in. There must be a better way.
For my macro keys, I found that the thing I kept changing in
MacroL was the project name. If it wasn’t for the project name,
MacroG could process the BUILD, DO MyAPP and MODI PROJ
MyApp commands. I came up with this change to MacroL:
PARAMETER IMacro
PRIVATE lAppName
IAppName
=
‘MyApp’
DO CASE
OTHERWISE
DO MacroG WITH IMacro
ENDCASE
RETURN
MacroG has lAppName available to it and can now process the three commands that used to be in MacroL. My BUILD APP command (Fl 1) would look like:
CASE IMacro
=
'F11'
PRIVATE IKeyStr
IKeyStr
=
“{Ctrl+F2}”
\KeyStr
=
IKeyStr
+
“Build APP
“
+
IAppName
+
“.APP”
IKeyStr
=
IKeyStr
+
“FROM
“+
IAppName
+
“.PJX”
Keyboard lKeyStr
At this point, you still copy MacroL when you start a new project but the only change you make is setting the APP name. MacroL has almost no commands in it at all. The only commands that should be in it would be very project specific. MacroG now has nearly all of your macro keys and you can easily add new macros to every project at once.
[Ed. Note: Todd Landrum is an independent developer. His
company, Paladin Programming, waitescustom software for businesses in the Denver area.
He
s a member of the Rocky Mountain Foxpt User Group. Toed can be reached at (303) 744-0854 orb)’ e-mail at Tlandrum@AOL. COM.]
|
Immediate openings for 2-3 EXPERIENCED VFP 5.0 programmers with Codebook 3.0 development expertise.
Excellent company in San Diego, CA is seeking to fill 2-3 on- site contract positions with potential permanent employment opportunity. Candidates must have experience developing with the Codebook 3.0 framework. Other useful skills include: C/S using SQL Server, TCP/IP, Java / J++, C++/C.
Please e-mail responses w/ attached resume (if available) to:
MLang©Qualcomm.com or fax resume to: (619) 658-1576
Tape duplication house, in business since 1978, has a permanent position paying approx.$45-50K/yr (negotiable) plus benefits. Company is planning a conversion from DOS to Novell server/Win95 clients within 1 year. A FoxPro 2.5/2.6 Developer is needed to come in and do maintenance plus some additional development. Eventually Visual FoxPro will be used.
Those interested may contact Dina Coleth, Recruiter, Technology Locator, 2082 Michelson -#212, Irvine, CA 92612. Phone:
714/752-7770, Fax: 714/752-7776, ore-mail at
dinac@tlcsd.com.
You can also visit their Website at
www.tlcsd.com
for company information.
We’ve come up with an easy way to submit articles to the
L.A
Fox Developer Newslette
one that has been overlooked for a long time.
You can submit your articles to Barry Lee at CIS# 72723,3422 on Compuserve,
orbrlee@earthlink.net.
These articles can be on any FoxPro-related topic, whether it concerns a new technique you’ve discovered, a certain development technique you may favor over others, book reviews, etc. Editor reserves the right to edit or offer constructive comments concerning submitted articles and accepted articles shall be considered to be in the public domain.
The quality of this newsletter really depends on the members that support it, not just read it. And I think we’d all be surprised by the useful information that could be circulated around the membership.
|
Paye 9
|
![]() |
![]() |
9 |
![]() |