[Gambas-user] Ask about key.enter and key.return

richard terry rterry at ...1946...
Thu Feb 5 05:23:45 CET 2009


On Thu, 5 Feb 2009 03:12:49 pm Leo Sendra wrote:
> Hi all,
>
> What is the different between key.enter and key.return?
> I have a trouble in my application.
> When I use key.return, the enter button near a number pad (num lock part)
> is not function as well. I don't know what happen with this.
> I am really confused with this code. Is it a bug? Or do they have a
> different meaning??
Do this.

In  your app, say in if  you've a textbox1 on your form

Public sub textbox1_keypress()
	print key.code
end

Run your app, and watch the output on the terminal.


regards

Richard

>

> Thanks...
>
>
>
>       Yahoo! Toolbar kini dilengkapi Anti-Virus dan Anti-Adware gratis.
> Download Yahoo! Toolbar sekarang.
> http://id.toolbar.yahoo.com
> ---------------------------------------------------------------------------
>--- Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing
> skills and code to build responsive, highly engaging applications that
> combine the power of local resources and data with the reach of the web.
> Download the Adobe AIR SDK and Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user






More information about the User mailing list