Re: [Gambas-user] A Gambas odissey
Brought to you by:
gambas
|
From: Benoit M. <ga...@us...> - 2008-08-13 10:39:22
|
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 |