OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: kevinpo on August 21, 2009, 02:02:56 PM

Title: Error: Invalid argument type
Post by: kevinpo on August 21, 2009, 02:02:56 PM
I get this error and it says Function: dcl_ComboBox_SetCurSel
is there a way to find out which ComboBox this is happening to?
for instance, dcl_ComboBox_SetCurSel "ComboBox21"

I can't seem to find the problem.

Kevin
Title: Re: Error: Invalid argument type
Post by: owenwengerd on August 21, 2009, 08:32:59 PM
SetCurSel expects a long integer, not a string (see http://www.opendcl.com/HelpFiles/index.php?page=Reference/Method/ComboBox/SetCurSel.htm (http://www.opendcl.com/HelpFiles/index.php?page=Reference/Method/ComboBox/SetCurSel.htm)).