(dcl-ListBox-SetTopIndex HASD_Surveypoints/frmPointExport/lstElev 3)
why doesn't this work? OpenDCL is reporting that NIL value is not allowed.
Most likely HASD_Surveypoints/frmPointExport/lstElev is nil.
@Moderator: This thread should be moved to the 'Runtime/AutoLISP' section.
The listbox is created with 8 items in the list. I want the 4th item to be the default value set at runtime.
Fixed. I was attempting to set them outside of the initialization function.