View Single Post
  #10 (permalink)  
Old 09-18-2008, 09:57 AM
agraham's Avatar
agraham agraham is online now
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,680
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

In another thread tsteward asked
Quote:
Originally Posted by tsteward View Post
Please is there a way to get the number of items in a ToolStripComboBox?
Yes, with the Door library. obj1 is a Door library Object
Code:
	obj1.Value = tscombo1.ControlRef
	obj1.Value = obj1.GetProperty("ComboBox")
	obj1.Value = obj1.GetProperty("Items")
	obj1.Value = obj1.GetProperty("Count")
	Msgbox(obj1.Value)
Reply With Quote