[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: What could cause overriding WndProc and ProcessCmdKey ACCESS_VIOLATION error?

  • Thread starter Thread starter jquerijero
  • Start date Start date
Status
Not open for further replies.
J

jquerijero

Guest
It's a form embedded inside a flyout pane (I've seen the error from just a standalone window too). No dialog-boxes or input-blocking code is called along the method (ItemLocator_TextBoxLeave) call stack. METHOD PROTECTED OVERRIDE LOGICAL ProcessCmdKey( INPUT-OUTPUT msg AS CLASS System.Windows.Forms.Message, INPUT keyData AS CLASS System.Windows.Forms.Keys ): glFromTab = Progress.Util.EnumHelper:AreEqual(keyData, System.Windows.Forms.Keys:Tab). IF glFromTab AND THIS-OBJECT:ByPassTabOnAutoLaunch AND (gcOrigItem <> THIS-OBJECT:EditorText OR (gcOrigItem = "" AND THIS-OBJECT:EditorText = "")) THEN /* allow handling tabbing when the item is blank */ DO: ItemLocator_TextBoxLeave( ?, ? ). /* parent container will be responsible for handling TAB destination */ RETURN TRUE. /* processed */ END. ELSE RETURN SUPER:ProcessCmdKey(msg, keyData). END METHOD.

Continue reading...
 
Status
Not open for further replies.
Back
Top