Skip to main content

[archive] A fast question about expand a combo box

  • December 16, 2009
  • 5 replies
  • 0 views

[Migrated content. Thread originally posted on 15 December 2009]

Hello all,

There is a way to expand a drop down combo box by code? I mean, like pushing F4 with the combo box focused

Thanks afterwards.

5 replies

[Migrated content. Thread originally posted on 15 December 2009]

Hello all,

There is a way to expand a drop down combo box by code? I mean, like pushing F4 with the combo box focused

Thanks afterwards.
try this code :

working-st....
77 hwnd pic x(4) comp-n.


code:
call "user32.dll".
inquire Screen1-Cm-1(
call "SendMessageA" using by value hwnd,
256, | WM_KEYDOWN
115, | VK_F4
0.

PS-> set WIN_F4_DROPS_COMBOBOX environment variable to 1 :cool:

[Migrated content. Thread originally posted on 15 December 2009]

Hello all,

There is a way to expand a drop down combo box by code? I mean, like pushing F4 with the combo box focused

Thanks afterwards.
Thanks nitallica! I was looking for something in cobol to do it, but we'll study your proposition

Thanks man

[Migrated content. Thread originally posted on 15 December 2009]

Hello all,

There is a way to expand a drop down combo box by code? I mean, like pushing F4 with the combo box focused

Thanks afterwards.
You can use the cobol W$KEYBUF routine to send key presses.

Paul

[Migrated content. Thread originally posted on 15 December 2009]

Hello all,

There is a way to expand a drop down combo box by code? I mean, like pushing F4 with the combo box focused

Thanks afterwards.
You can use the cobol W$KEYBUF routine to send key presses.

Paul

[Migrated content. Thread originally posted on 15 December 2009]

Hello all,

There is a way to expand a drop down combo box by code? I mean, like pushing F4 with the combo box focused

Thanks afterwards.
You can use the cobol W$KEYBUF routine to send key presses.

Paul