[Gambas-user] Problem with tableview
Benoit Minisini
gambas at ...1...
Fri Feb 13 23:14:01 CET 2004
On Friday 13 February 2004 19:02, ron wrote:
> Hi Benoit, Rob
>
> I do have found a strange thing with TableView
>
> When I click in the example the vars keyrow and keycol are set with the
> onclick event. After startup the are set to 0,0.
> If I use the keyboard down key the internal .row gives 1 as result however
> in the row header the r:2 is higlighted (2 down). On every next key down it
> goes 1 down and when i press up it goes the first time 2 and then 1 up with
> the highlite.
> The strange step occurs only if the direction different is with the
> previous.
>
> The demo give a good idea what happens with the properties of TableView.
>
> grts Ron
Be careful! The arrow keys are interpreted by the TableView control, so if you
move the row and/or the column inside the KeyPress event, you must cancel the
event before the event handler ends.
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list