Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

autocad vba listbox

Status
Not open for further replies.

kcimos

Civil/Environmental
Sep 12, 2003
4
0
0
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?
 
Replies continue below

Recommended for you

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.
Back
Top