[Gambas-user] Listview problem.

GuruLounge - MailLists maillists at ...1367...
Mon Mar 27 00:27:23 CEST 2006


I'm using a listview control and an iconview control.

I notice that the iconview control responds to alpha-numeric keypresses
automatically by selecting the next icon in the control that begins with
the key you press.

The listview control on the other hand doesn't do this unless you are
one item above, e.g.  I press "g" and the control doesn't automatically
select "garden" unless the item just above it is selected.

I've tried to programatically handle this issue but ironically when the
control DOES automatically select an item it throws my subroutine off,
e.g.  I press "g" and it should move to "garden" but moves to the one
after instead.  It would be better to turn OFF this autoselection so my
subroutine could work effectively.

I've considered maybe using the SELECT event with a keypress flag of
sorts to see if I can deal with this.  But I'd prefer an easier solution
if one is available.

I haven't seen a "bugfix" referencing this issue for gambas 1.0.15.

Using gambas 1.0.14 on FC4.

Any ideas?

TIA,
Jeff

-- 

     .^.
     /V\
    /( )\
    ^^-^^
Linux Advocate





More information about the User mailing list