| View previous topic :: View next topic |
| Author |
Message |
jwfv Valued Contributor

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Thu Sep 25, 2003 2:47 pm Post subject: Horizontal scrollbar on a combo element? |
|
|
I have tried the code for putting a horizontal scrollbar on a list dialog element and it works.
I tried it on my combo element, and it doesn't work. Does anyone know if it is possible to add a horizontal scroll to the dropdown part of a combo element? _________________ Joe Floyd |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Thu Sep 25, 2003 2:53 pm Post subject: |
|
|
jwfv,
You can use the %%CB_SETHORIZONTALEXTENT = $15E which works the same as the message ID for the listbox element. The only thing is that if VDS uses the CBS_DISABLENOSCROLL style for the combo element this message will not work. But you can try it  _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
jwfv Valued Contributor

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Thu Sep 25, 2003 3:38 pm Post subject: |
|
|
I don't know much about API programming. I changed the hex amount in the earlier example to the new value you gave, but it didn't seem to work. Did I do it correctly? Maybe VDS uses the code you mentioned, and this solution won't work.
| Code: | | %A = @sendmsg(@winexists(~combo1),$15E,200,0) |
_________________ Joe Floyd
Last edited by jwfv on Thu Sep 25, 2003 6:13 pm; edited 1 time in total |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Thu Sep 25, 2003 4:22 pm Post subject: |
|
|
Joe,
Is the number 200 in the @sendmsg line that you posted wider than your combo box? _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
jwfv Valued Contributor

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Thu Sep 25, 2003 6:04 pm Post subject: |
|
|
It was - but I changed it to be the same as the combo and then changed it to less than the combo box, but it never showed up. _________________ Joe Floyd |
|
| Back to top |
|
 |
|