On 7/19/02 11:23 AM, "Stu Cram" <Stu.Cram@...> wrote: >> Ken >> >> Many thanks for the 2 examples. What does the @ indicate in the @ fn >> CaptureEFReturn? >> Martin >> <---large area clipped---> >> >>> filterFN = @ fn CaptureEFReturn >>> EDIT FIELD 2, "", (10, 35)-(190, 70), _framed,, filterFN >> <---more clipped---> >> > ----------------------- > > The @ symbol in this syntax provides the memory address of the given > function. It's the same as this older but less common way: > LET filterFN = VARPTR(FN CaptureEFReturn) > > Then that address is used on the next line that creates an edit > field; it indicates that this function will be called to examine the > keystrokes as they are typed in edit field #2. It is called every > time the user presses a key destined for this edit field -- they all > 'pass through' this routine and are sometimes modified, hence the > term 'filter'. > > This option for a 'key filter function' at the end of the EDIT FIELD > statement only works with the appearance manager (FB^3.6). In > previous versions, one had to use ON EDIT FN CaptureEFReturn to > achieve something similar. > > HTH > -Stu > ------------------------- > For the first time in over a decade of using FB I cannot open up my program for coding because FB 3 is saying that "A resource fork could not be added to this file. You are attempting to run from a lock disk or the file is damaged." I looked at the Staz site for info on this but could not find any. Can someone tell me how to correct this? This program is over 190,000 lines of code and 200 include files. Thanks, Doug Stemen