I am trying to capture the content of an Edit field before the dialog user's entry character changes it. I am using a combination of GotFocus and Update events - the onGotFocus method to determine when that field has the focus, and then the Update method to actually detect the field is being changed. I am trying at that point to retrieve the field content with getText but want it *before* the keypress has actually changed the data. It appears to always be *after* the change has been made. I do not want to enter the Update method when the user is simply tabbing over the field, or before they attempt to entry data into it. Is this possible? Code fragment.. self~connectEditEvent(IDC_EditFieldName1, UPDATE, onFieldName1) self~connectEditEvent(IDC_EditFieldName1, GOTFOCUS, onGotFocusName1) ... ... ::method onGotFocusName1 -- set switch to indicate user has set focus to field, to not get the data -- when it is being initialized/changed by the dialog program
::method onFieldName1 -- if Name1 field switch indicates it has focus, then -- get Name1 field data .. at this point, the field always has the changed data. -- Art Heimsoth - artst...@artheimsoth.com ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users