Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13549

Re: Mofdify Input dropdownlist

From JohnMartens <martens@tennishulp.info>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Mofdify Input dropdownlist
Date 2022-02-24 15:54 +0100
Organization A noiseless patient Spider
Message-ID <sv8666$krk$1@dont-email.me> (permalink)
References <bc535ae4-d0a8-44ed-835c-91f5c43faa60n@googlegroups.com>

Show all headers | View raw


Why not use an SLE ?

Did you check on ListBoxSelect method ?

METHOD ListBoxSelect(oControlEvent) CLASS frmMyWindow
	SUPER:ListBoxSelect(oControlEvent)
	*
	IF oControlEvent:Control:NameSym == #MYCOMBO


John


Op 24-2-2022 om 11:40 schreef Jack Konings:
> Hi,
> 
> On a window I've got a combobox as (sorted) dropdownlist. The box is filled with items which all have the same format like "R-"+9999 (like 'R-1234'). The list is used to select more detailed data.
> Currently the user punches in "R-" followed by the number. In doing this the combobox displays the item which best fits the input.
> Since the format is always the same punching in the "R-" is inefficient. It would be more convenient if the user just has to punch in the number and the best "R-9999" match would be shown.
> 
> I tried to get this behavior by defining a keyup event, "catch" the numbers and add "R-' to them. This didn't work well and i'm starting to doubt keyup is the right way to do this.
> 
> Can someone give me a hint as how to make the desired behavior?
> TIA.
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mofdify Input dropdownlist Jack Konings <glados.1964@gmail.com> - 2022-02-24 02:40 -0800
  Re: Mofdify Input dropdownlist dlzc <dlzc1@cox.net> - 2022-02-24 06:49 -0800
    Re: Mofdify Input dropdownlist Jack Konings <glados.1964@gmail.com> - 2022-02-24 07:03 -0800
      Re: Mofdify Input dropdownlist dlzc <dlzc1@cox.net> - 2022-02-24 12:20 -0800
        Re: Mofdify Input dropdownlist Jack Konings <glados.1964@gmail.com> - 2022-02-25 07:51 -0800
          Re: Mofdify Input dropdownlist dlzc <dlzc1@cox.net> - 2022-02-25 10:33 -0800
  Re: Mofdify Input dropdownlist JohnMartens <martens@tennishulp.info> - 2022-02-24 15:54 +0100
    Re: Mofdify Input dropdownlist Jack Konings <glados.1964@gmail.com> - 2022-02-24 07:07 -0800
  Re: Mofdify Input dropdownlist "Karl-Heinz" <invalid@invalid.invalid> - 2022-02-24 18:55 +0100
    Re: Mofdify Input dropdownlist Jack Konings <glados.1964@gmail.com> - 2022-02-25 07:49 -0800

csiph-web