Print Page | Close Window

BUG : 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=15715
Printed Date: 05 October 2024 at 5:43pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG : ComboBox
Posted By: asim_web
Subject: BUG : ComboBox
Date Posted: 25 November 2009 at 12:00pm
ComboBox ItemData does not work properly when I call it . It crashes the application  !!!
sorry for my bad English
 
For m = 1 To 12
  ComboBox1.AddItem MonthName(m)
  ComboBox1.ItemData(ComboBox1.ListCount - 1) = m
Next
---------------------------------------------------------------------------- 
Later I knew the reason that
 
 dim m as integer
 
so it is important to declare the var. m which was not a must in the previous
releases of CJ .
 
Thanks a lot
 ----------------------------------------------------------------------------
CJ 13.2.1



Replies:
Posted By: itsmg
Date Posted: 26 November 2009 at 5:12am
When adding vbnullstring to ComboBox, it crashes, too.

ComboBox1.AddItem(vbNullString)

But only on Windows XP.
On Windows 7 it works.


-------------
Product: Xtreme SuitePro (ActiveX) version 20.1.0 (unicode)

Platform: Windows 11 (64bit)

Language: 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