[progress Communities] [progress Openedge Abl] Forum Post: Re: Keyfunction(lastkey) Delayed

  • Thread starter Thread starter Matt Gilarde
  • Start date Start date
Status
Not open for further replies.
M

Matt Gilarde

Guest
The AVM doesn't set LASTKEY for keypress events in .NET controls. You have to look at the KeyEventArgs object which is sent to your event handler. METHOD PRIVATE VOID radTextBox1_KeyUp( INPUT sender AS System.Object, INPUT e AS System.Windows.Forms.KeyEventArgs ): IF e:KeyCode = System.Windows.Forms.Keys:Enter THEN MESSAGE "hi" VIEW-AS ALERT-BOX RETURN. END METHOD.

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