Solved:

PUBLIC SUB factura_KeyRelease()
  IF Key.Code = Key.Enter OR Key.Code = Key.Return THEN
   datum.SetFocus
  ENDIF
END
--- Begin Message ---
Hi all!

  I evaluated the last key pressed in a valuebox with the keypress
event. If the value of the key pressed is <enter> I wish to make the
cursor to leave the current valuebox and to move to next object (a value
box or command button etc.)
How can I make this? Is a method to set the focus to an another object?

Thank you.

Best regards,
Zoli B.

--- End Message ---
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to