Re: [Gambas-user] A Gambas odissey

2008-08-13 Thread Doriano Blengino
Benoit Minisini ha scritto: >> ME.MoveTo(path) >> DO >> IF ME.movechild() THEN BREAK >> ME.Item.Delete >> ME.MoveTo(path) >> LOOP >> >> You should elaborate, as these are clearly bugs: stepping the source should >> always have no side effects (effect for things that depends on ti

Re: [Gambas-user] A Gambas odissey

2008-08-13 Thread Fabien Bodard
2008/8/13 Doriano Blengino <[EMAIL PROTECTED]>: > Fabien Bodard ha scritto: >> is this can help you ? >> >> This a simple demo off event management via objerver object that catch >> the event before object. >> > > Ok, it works. But, as you can see in my previous message and the > attached source, i

Re: [Gambas-user] A Gambas odissey

2008-08-13 Thread Benoit Minisini
On mercredi 13 août 2008, Doriano Blengino wrote: > Benoit Minisini ha scritto: > >> I failed, > >> instead, in removing all the children of an item, one by one (there is a > >> clear() method, but I need to delete them one by one). The "for each ... > >> in item.children" does not work; it is not

Re: [Gambas-user] A Gambas odissey

2008-08-13 Thread Doriano Blengino
Benoit Minisini ha scritto: >> I failed, >> instead, in removing all the children of an item, one by one (there is a >> clear() method, but I need to delete them one by one). The "for each ... >> in item.children" does not work; it is not the first time I see similar >> anomalies, especially while

Re: [Gambas-user] A Gambas odissey

2008-08-13 Thread Doriano Blengino
Fabien Bodard ha scritto: > is this can help you ? > > This a simple demo off event management via objerver object that catch > the event before object. > Ok, it works. But, as you can see in my previous message and the attached source, it was not that my problem. In fact, I already did the s

Re: [Gambas-user] A Gambas odissey

2008-08-13 Thread Benoit Minisini
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

Re: [Gambas-user] A Gambas odissey

2008-08-13 Thread Benoit Minisini
On lundi 11 août 2008, Doriano Blengino wrote: > Hello all... > > I am writing a file manager, hybrid between FileRunner and a more > modern one. > > I started with a DirView, and soon discovered that it doesn't raise the > KeyPress event (but the IDE makes you think that). There were other > thing

Re: [Gambas-user] A Gambas odissey

2008-08-13 Thread Doriano Blengino
I send the file manager I am writing, for anybody could be interested in. For now, navigation is almost complete. It misses a mean to delete bookmarks, because I wanted to delete them by right-clicking on the menu voice, but this is not possible (the mouse right button it is not discerned). No

Re: [Gambas-user] A Gambas odissey

2008-08-13 Thread Doriano Blengino
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

Re: [Gambas-user] A Gambas odissey

2008-08-12 Thread Fabien Bodard
is this can help you ? This a simple demo off event management via objerver object that catch the event before object. If you have others question tell me Fabien 2008/8/12 Fabien Bodard <[EMAIL PROTECTED]>: > hoh there is many thing wrong here ! > > 2008/8/11 Doriano Blengino <[EMAIL PROTEC

Re: [Gambas-user] A Gambas odissey

2008-08-12 Thread Fabien Bodard
hoh there is many thing wrong here ! 2008/8/11 Doriano Blengino <[EMAIL PROTECTED]>: > Hello all... > > I am writing a file manager, hybrid between FileRunner and a more > modern one. > > I started with a DirView, and soon discovered that it doesn't raise the > KeyPress event (but the IDE make

[Gambas-user] A Gambas odissey

2008-08-11 Thread Doriano Blengino
Hello all... I am writing a file manager, hybrid between FileRunner and a more modern one. I started with a DirView, and soon discovered that it doesn't raise the KeyPress event (but the IDE makes you think that). There were other things missing in DirView, so I wrote my MyDirView the way I wante