Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - [BUG] Combobox Scrolling with EnableMarkup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[BUG] Combobox Scrolling with EnableMarkup

 Post Reply Post Reply
Author
Message
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (1) Thanks(1)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Topic: [BUG] Combobox Scrolling with EnableMarkup
    Posted: 02 December 2010 at 4:01am
Hi,

I have noticed that the Combobox when scrolled using the MouseWheel while the list is shown seems to jump rather than scroll smoothly. This only happens while using "EnableMarkup = True".

It's not easy to describe, though here goes...

Fill a combobox with lets say 100 entries. Drop down the list and hover over list. Now scroll, you will notice that no matter which way you scroll the mousewheel the list appears to always move down  but then it has jumped 3 rows in the direction you were scrolling. It's very confusing to the user and to me! lol

Has anyone else come across this and know of a possible solution to resolve this?

Please Note: This works differently from the Microsoft Combobox when scrolled, the MS Combobox seems to scroll smoothly as expected.
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (1) Thanks(1)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 07 November 2011 at 10:59am
***BUMP***

I have changed this status as it's a definite bug when working with "EnableMarkup = True", when this is not used with Markup the scrolling works fine.
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
Back to Top
Michael S. View Drop Down
Newbie
Newbie


Joined: 06 October 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michael S. Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2013 at 6:56am

This bug still persists in the ActiveX OCX 15.3.1. When scrolling the combobox with the mouse in Markup mode, then there is some additional "backwards" scrolling going on. Dragging the scrollbar slider doesn't exhibit this behavior.

Please fix this annoying scroll behavior.

Here is some VB6 code to produce such a combobox, that shows the above problem:

Private Sub CreateCombo()
    Dim s As String
    Dim k As Long
    Dim m As String

    With cb
      .Clear
      .EnableMarkup = True
      .DropDownWidth = cb.Width
    End With

    For k = 1 To 100
      cb.AddItem Format(k, "000") & " - This is item " & k
      cb.ItemData(cb.NewIndex) = k

      m = "<Grid>" & _
      " <Grid.ColumnDefinitions>" & _
      " <ColumnDefinition Width='35'/>" & _
      " <ColumnDefinition />" & _
      " </Grid.ColumnDefinitions>" & _
      " <Grid.RowDefinitions>" & _
      " <RowDefinition/>" & _
      " </Grid.RowDefinitions>" & _
      " <TextBlock TextAlignment='Left' FontFamily='Tahoma' FontSize='10' FontWeight='Bold'>" &       Format(k, "000") & "</TextBlock>" & _
      " <TextBlock TextAlignment='Left' FontFamily='Tahoma' FontSize='10' Grid.Column='1'>" & "This is item " & k & "</TextBlock>" & _
      "</Grid>"

      cb.MarkupList(cb.NewIndex) = m
    Next
End Sub

Product: Xtreme SuitePro (ActiveX) version 15.1.3
Platform: Windows 7 Prof. SP 1 x64
Language: Visual Basic 6.0
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2013 at 7:23am
Michael,

Sorry to hear this has not yet been resolved.

I am no longer using the Codejock ComboBox in my applications, simply because I needed multi-column support that worked with scrolling without the above issue. Our company have also changed from developing applications in Visual Basic 6 to C#.Net. Therefore I have been able to develop my own multi-column ComboBox that still skins properly with the Codejock SkinFramework.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.