Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Bug on ComboBox
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug on ComboBox

 Post Reply Post Reply
Author
Message
Albert1 View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2007
Location: Italy
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albert1 Quote  Post ReplyReply Direct Link To This Post Topic: Bug on ComboBox
    Posted: 22 July 2013 at 4:30am
Hi,

the ComboBox with Style=2 (DropDownList) does not set correctly the item by .Text property.

I created a form with two ComboBoxes (std VB and a CJ one) and added this code:


Private Sub Form_Load()
    Combo1.AddItem "South/East"
    Combo1.AddItem "South"
   
    ComboBox1.AddItem "South/East"
    ComboBox1.AddItem "South"
End Sub

Private Sub PushButton1_Click()
    Combo1.Text = "South"
    ComboBox1.Text = "South"
End Sub


When I click PB I get this:



As you see the standard VB ComboBox is correctly set. The CJ Combobox is wrong.
The whole item length should be checked. Not only partially.

Product: Xtreme SuitePro (ActiveX) version 13.4.1 / 16.3.0

Platform: Windows Vista (32bit) - SP 2

Language: Visual Basic 6.0 (SP6)

Back to Top
TomasS View Drop Down
Groupie
Groupie
Avatar

Joined: 28 January 2009
Location: Sweden
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote TomasS Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2013 at 3:49am
I can confirm this behavior here too, even if I never had to select items using this method in reality.
If set to Sorted=True both will behave the same as far as I have seen though, so maybe the problem is that the CJ control does the selection from a sorted list even if the actual control is not sorted?
I tried both 15.3.1 and 16.2.3 on Windows 8 with the same results.
Xtreme SuitePro (ActiveX) version 17.3.0, 16.3.1
Windows 10 64-bit
Visual Basic 6.0
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.140 seconds.