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


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

Re: Forcing a combobox to open

From JohnMartens <martens@tennishulp.info>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Forcing a combobox to open
Date 2014-01-10 22:59 +0100
Organization A noiseless patient Spider
Message-ID <lapqfd$nq9$1@dont-email.me> (permalink)
References <6eeef97f-4482-4e69-bcd3-7843d9c3fec3@googlegroups.com>

Show all headers | View raw


I found this one:

METHOD DropDownTroggle() CLASS ComboBox
	SendMessage(SELF:Handle(), CB_SHOWDROPDOWN, 1, 0)
RETURN SELF

John




rkaplan328 schreef op 10-1-2014 22:07:
> Can anyone propose a way to force the dropdown part of a combobox to open on demand (e.g. whenever the keystroke on the SLE part of the combobox meets a given criterion), without forcing the user to click the down-arrow icon?  The keystrokes (alphabetic) can easily be captured with Window:EditChange() and Combobox:CurrentText, but I haven't seen a way of simulating a click on the down-arrow bit.  Any help appreciated!
>

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


Thread

Forcing a combobox to open rkaplan328 <richard.d.kaplan@gmail.com> - 2014-01-10 13:07 -0800
  Re: Forcing a combobox to open JohnMartens <martens@tennishulp.info> - 2014-01-10 22:59 +0100
  Re: Forcing a combobox to open rkaplan328 <richard.d.kaplan@gmail.com> - 2014-01-10 17:59 -0800
  Re: Forcing a combobox to open Sherlock <sherlock@sherlock.com.au> - 2014-01-10 19:22 -0800

csiph-web