Print Page | Close Window

Bug on ComboBox

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=21808
Printed Date: 20 February 2025 at 2:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug on ComboBox
Posted By: Albert1
Subject: Bug on ComboBox
Date 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)




Replies:
Posted By: TomasS
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net