[Gambas-user] A Gambas odissey

Benoit Minisini gambas at ...1...
Wed Aug 13 12:39:28 CEST 2008

On mercredi 13 août 2008, Doriano Blengino wrote:
> Fabien Bodard ha scritto:
> >> things missing in DirView, so I wrote my MyDirView the way I wanted. It
> >> was easy at first, but then I discovered that it is difficult, or at
> >> least not clear, how to move the "Current" cursor. I am not sure why,
> >> but it does work by setting the Selected property of an item.
> I derived MyDirView from TreeView, and wrote a ME_KeyPress event to
> manage arrow keys and textual search (i.e., you start to write the name
> of the directory you want to reach, and MyDirView select that
> directory). 

Beware that your textual search only works in ASCII. You must use UTF-8 String 
class to deal with the UTF-8 string returned by Key.Text.

Benoit Minisini

More information about the User mailing list