[Gambas-user] event keypress

Arief Bayu Purwanto ariefbayu at ...626...
Fri Jan 11 04:04:46 CET 2008


On 1/11/08, gunartha.nyoman <gunartha.nyoman at ...1817...> wrote:
>
> hi all,
>
> I am trying to use gambas. Please help me about code to resolve my problem
> 1. How to move cursor when I press key enter on keyboard ?


Did you mean change focus to another object? if so, set it to
<ObjectName>.SetFocus().

in your <ObjectName>_KyePress()

IF Key.Code = key.Return THEN
  <AnotherObject>.SetFocus()
END IF

2. How to fill data from database (as a postgres database server) to
> gridview
> or table view. ?
>
> Regards
> Gunartha
>
Greeting from Indonesia too :D.

-- 
Daiguren Hyōrinmaru<http://en.wikipedia.org/wiki/Toshiro_Hitsugaya#Hy.C5.8Drinmaru>


More information about the User mailing list