Strange happenings - I added the nowait noclear clauses to the wait window and everything worked. Then I removed them and it still worked. Apparently something was not compiling properly and making an editing change fixed it
By way of explanation - the wait window is temporary for my convenience in identifying the keycodes that I want to let through. The code allows approved characters through to the screen and displays the others in the wait window. The NODEFAULT prevents further processing of the keycodes being discarded. My "perverse" logic has been corrected - the logic flaw became obvious when the code in the KeyPress event became functional. I don't know if there is a connection - but since I got the KeyPress event working, every so often when I build he project I get a message that the Classes.fxp file is open and the compile fails. When I try it again - all is well. Thanks - Joe On Tuesday, December 23, 2008 10:57 AM, Allen wrote: > >Date: Tue, 23 Dec 2008 16:57:28 +0100 >From: Allen >To: profoxt...@leafe.com >cc: >Subject: RE: Newbee - working with a programmatically created text box > >And there appears to be a nodefault so it wont run anything else >Allen > >-----Original Message----- >From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On >Behalf Of Dave Crozier >Sent: Tuesday, December 23, 2008 3:02 PM >To: profoxt...@leafe.com >Subject: RE: Newbee - working with a programmatically created text box > >Joe, >The Wait window is waiting for keystrokes. Add "nowait noclear" to the end >of the wait command. Without it the wait command requires key entry to >terminate it. > >The logic of the validation seems a little perverse though in that you look >to require a "D" in the text field but specifically stop that character from >being entered. > >Dave Crozier > > NODEFAULT > ENDIF > ENDFUNC >ENDDEFINE > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/bc.b7.16485.77221...@cm-2.zoominternet.net ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.