[wx-dev] adding auto-complete test on widgets sample

Armel Asselin armel.asselin at orange.fr
Tue Jun 17 11:34:56 PDT 2008


Hi (Vadim),

I am currently in order to try to add auto-complete in the widgets sample.
from what I see there are already specific field which would have interest 
in auto-complete (directory selector field, BTW, it makes me wonder if there 
is a possible notion of AutoCompleteFileNames(wx??Directory)...)
we were somewhat ok to add a combobox per test (fixed list, filename, async 
list), but in the widgets sample it would seem more natural to me to have 
some kind of integration with existing fields (filename => file selector, 
fixed list => simple combo...).
maybe not, what do you think of that?

Regards
Armel Asselin

I add here the content of previous discussion for info:

From: "Vadim Zeitlin" <vadim at wxwidgets.org>
To: "Armel Asselin" <armel.asselin at elliecomputing.com>
Sent: Tuesday, May 20, 2008 11:55 PM
Subject: Re: combo

----- Original Message ----- 
From: "Vadim Zeitlin" <vadim at wxwidgets.org>
To: "Armel Asselin" <armel.asselin at elliecomputing.com>
Sent: Thursday, June 12, 2008 9:28 PM
Subject: Re[4]: combo


> On Wed, 11 Jun 2008 20:07:12 +0200 Armel Asselin 
> <armel.asselin at elliecomputing.com> wrote:
>
> AA> > sorry if it was me who told you to use the combo sample as the base 
> but
> AA> > thinking more about it I think this should really be done in the 
> widgets
> AA> > sample because it has both combobox and text controls and so we 
> could
> AA> > reuse
> AA> > the same code for demoing this feature with both of them.
> AA> >
> AA> > Would this be possible?
> AA> ok let's do that then
>
> Ok, great, thanks! Please submit it using Trac (http://trac.wxwidgets.org)
> when done, like this I won't forget/lose it.
>
> TIA,
> VZ
>

> On Tue, 20 May 2008 20:45:26 +0200 Armel Asselin 
> <armel.asselin at elliecomputing.com> wrote:
>
> AA> I just wanted to tell you that I checked out SVN HEAD, and that I am
> AA> about to add some testing stuff (in the samples/combo project?). I
> AA> think that there are 3 tests: simple list, file names, asynchronous
> AA> list (through a simple thread which fills a list and post an event 
> when
> AA> ended so as to call AutoComplete) . I wonder if I should add two or
> AA> three combos: - 2 => one which selects the test type in the second
> AA> combo - 3 => one for each test type
> AA>
> AA> any advice?
>
> Hello,
>
> I didn't have time to really think about it yet, sorry. But your idea
> about having 3 tests/examples looks good, as for the UI for it I really
> don't think it matters much, although I'd probably prefer 3 different
> combos (this seems more clear, although we'd still need some explanatory
> wxstaticTexts).
>
> TIA,
> VZ
> 




More information about the wx-dev mailing list