[WIN] Win32Lib v50: can't make combo box close

new topic     » topic index » view thread      » older message » newer message

------=_NextPart_000_0009_01C05C9D.28405720
        charset="iso-8859-1"

I have a problem with a combo box:
"setFocus" interferes with making a combo box close, but as far as I can
tell, "setFocus" is necessary to other important actions.

In my modification of the edit window in Judith's improvement of the IDE,
(the mod allows easy pasting of Euphoria and Win32Lib routines into the
editor),  I have pairs of combo boxes, with a selection in one of a pair
causing population & dropdown of the other in the pair; I'm using
"SimpleCombo" to replace the normal edit field of the combo with a static
text field, in order to eliminate a potential for crashing the program by
the user cutting or editing in the normal "edit" field of the combos; I want
to have clicking on the top combo of a pair close the bottom's list if it's
open.

I can do that, *until* I add a "setFocus" command (to a hidden multi-line
edit control which is part of the IDE), and that setFocus appears to be
*necessary* in order to make sure the editor can receive keystrokes after
clicking in the combo.

Can anyone see a way around this "circular" problem?  I don't see why
"setFocus" makes the problem, but it sure seems to, and as far as I can see
in the IDE, it's necessary there.

I've attached a demo of the problem.

Dan Moyer



------=_NextPart_000_0009_01C05C9D.28405720
        name="CmboPblm.exw"
Content-Transfer-Encoding: quoted-printable

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu