OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: cadplayer on August 09, 2016, 01:57:06 AM

Title: dcl-ListBox-SelectItem with nothing select
Post by: cadplayer on August 09, 2016, 01:57:06 AM
Hello!
first question: I get a bug in using of method dcl-ListBox-SelectItem in listbox. if nothing select in listbox I get 0 not -1.
sec. question: When does it come new Opendcl-runtime upgrade for Autocad 2017?

Kindly regards
Dick
Title: Re: dcl-ListBox-SelectItem with nothing select
Post by: Peter2 on August 09, 2016, 07:29:14 AM
Quote from: cadplayer on August 09, 2016, 01:57:06 AM
...
sec. question: When does it come new Opendcl-runtime upgrade for Autocad 2017?
..
Current version 8.0.5 is running under 2017.
Title: Re: dcl-ListBox-SelectItem with nothing select
Post by: cadplayer on August 09, 2016, 10:02:25 AM
Thanx Peter, sorry I´m blind:)
Title: Re: dcl-ListBox-SelectItem with nothing select
Post by: roy_043 on August 09, 2016, 01:42:04 PM
Regarding your first question: Do you actually mean dcl-ListBox-GetCurSel?
The function dcl-ListBox-GetCurSel does in fact show the error described in the OP.