Jump to content


Photo

NxComboBox vertical scrollbar issue


  • Please log in to reply
5 replies to this topic

#1 tumbleweed

tumbleweed
  • Members
  • 4 posts

Posted 22 August 2015 - 02:56 PM

I have an NxComboBox set as a DropDownList.

When the list drops down, the up and down arrows that are normally part of the vertical scroll bar aren't being displayed...the two areas are transparent.
The scrollbar works, and if I click the area where the up/down arrows should be, then the arrows themselves appear. I see the same behavior for a ComboBoxColumn when it's in a grid.
(See the attached zip for example images)

It's a minor issue, but is there any way to fix this so that it works like a standard ComboBox, or is there something in the way I'm using it?

If it matters, I'm using the "freeware version for Delphi 7" component package.

btw - thanks for your help with adding rows to ComboBoxColumns at runtime. Your suggestion worked great.
.

Attached Files



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,838 posts
  • Gender:Male

Posted 23 August 2015 - 02:18 AM

Hi,

 

I will test to see what it happens. Quite weird bug.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 tumbleweed

tumbleweed
  • Members
  • 4 posts

Posted 02 September 2015 - 02:20 PM

I was think that since the arrows appear once the top and bottom areas of the scrollbar are clicked I could add something like this when the dropdown list was drawn:

SendMessage(ComboBox1.Handle, WM_VSCROLL, SB_LINEDOWN, 0 );
SendMessage(ComboBox1.Handle, WM_VSCROLL, SB_LINEUP, 0 );

but I never found a combobox event where it seemed to have any effect.

 

Would something like that even work?

 

 



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,838 posts
  • Gender:Male

Posted 02 September 2015 - 04:11 PM

Hi,

 

This are a custom drawn scrollbars. There was a problem with detecting movement inside non-client area so I needed to do custom drawn scrollbars. As soon I got some time I will fix it.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 tumbleweed

tumbleweed
  • Members
  • 4 posts

Posted 02 September 2015 - 04:58 PM

Ok, thanks.

 

As I say, the ComboBoxColumn exhibits the same issue while you're fixing things.



#6 lsquez

lsquez
  • Members
  • 16 posts

Posted 07 May 2017 - 11:45 PM

Any update on when this will be fixed? I still see the issue in v5.9.85.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users