On Tue, 9 May 2006 09:01:33 +0100 I wrote: > I have a simple Editfield Subclass using KeyDown and LostFocus at > <http://rb.sgarman.net/numfield.rbp>
Just a couple of quick words about this class. 1) I haven't found a sensible way to trap invalid pasting into the field, so I've left it to the lostFocus event to catch that. Any better suggestions gratefully received. 2) If anyone downloaded it within 5 minutes of the upload, the arrow keys were not working. I think I've fixed that, though other positioning keys are ignored. If you want to implement home/end/pgUp/pgDown etc. just add them to mValidChars in the setValidChars method. I'll probably add them later. -- Steve Garman Using REALbasic 2006r2 Professional on Windows XP Pro _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
