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

BUG : ComboBox

 Post Reply Post Reply
Author
Message
asim_web View Drop Down
Newbie
Newbie
Avatar

Joined: 10 September 2007
Location: United Arab Emirates
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote asim_web Quote  Post ReplyReply Direct Link To This Post Topic: BUG : ComboBox
    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
Back to Top
itsmg View Drop Down
Groupie
Groupie


Joined: 10 September 2009
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote itsmg Quote  Post ReplyReply Direct Link To This Post 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
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.125 seconds.