Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

autocad vba listbox

Status
Not open for further replies.

kcimos

Civil/Environmental
Joined
Sep 12, 2003
Messages
4
Location
US
i created a listbox on a form but i am not able to do anything with it - code such as
Code:
NameForm.ListBox1.AddItem "8000"
generates a "method or data member not found error"

when i type "me." LISTBOX1 does NOT show up in the properties/methods drop down list.

i'm not having any problems with my combobox using similar code.

does ACAD VBA not recognize listboxes even though i can add 1 to a form?
any advice?
 
If you are in the code window for the form, you don't need to add the form name, simply use the control name.

ListBox1.AddItem "8000"

DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top