home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
sel_ml.zip
/
README
< prev
next >
Wrap
Text File
|
1995-01-18
|
2KB
|
56 lines
SEL_MLE:
DATE: 16 January 1995
APPL: GPFREXX
PURPOSE: a function to auto-select entire MLE contents
I have built a DLL which provides such a function, first because a GpfRexx user
requested it and second as a programming excercise. If you decide to try it, please (!)
copy the DLL to a directory known to your LIBPATH environment variable.
The DLL initially has one visible function, which must be added then invoked:
Call RxFuncAdd 'GpfRexxMleLoadFuncs','GPFRXMLE',GpfRexxMleLoadFuncs'
Call GpfRexxMleLoadFuncs
This can be done from a .CMD file (such as STARTUP.CMD) or from a User Function
in your GpfRexx application (perhaps at InitApp or Window Init)
If done from your app, you will probably want to unload this stuff:
Call GpfRexxMleDropFuncs
A likely time would be EndApp or Window Destroy.
The included .ORC file has four user functions, which you can inspect via the OBJECT menu.
The functions names should point to their attach times/points.
I did not include the source and production files for personal reasons, and the fact that
the preceding functions are a snippet of a larger work-in-progress.
Don't ask why.
If this works for you, and you need the source badly, let me know
and I will put it into human-readable form. I will also change the
function prefix from something other than 'GpfRexx...'. This prefix
should probably be left for (possible) use by the author, JB Clerin.
18 January
----------
A function, DestroyWindow, has been added for test by another
user, having nobearing on the MLE problem. It was simply convenient.
USAGE:
handle= QueryHandle('WindowName') /* as you defined it */
DestroyWindow(handle)
This User Function can be invoked from the normal anchor points. The
best one, probably, is Hide Window, invoked from the client window's
Action dialog. This ensures that the window is not simply made
invisible, the Gpf standard, but is truly destroyed. The user must
use this with caution on a test application... I don't know the
ramifications, if any. I hope GpfRexx does not get confused by a
vanished window.
AC
Alexander 'Bob Guru' Charov