OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Slavko Ivanovic on April 07, 2009, 11:59:05 PM

Title: Just another example - ODCL game in AutoCAD
Post by: Slavko Ivanovic on April 07, 2009, 11:59:05 PM
Puzzle game in ACAD powered by OpenDCL.

(http://img24.imageshack.us/img24/1361/puzzlescreen.jpg) (http://img24.imageshack.us/my.php?image=puzzlescreen.jpg)
Title: Re: Just another example
Post by: Fred Tomke on April 08, 2009, 12:30:44 AM
Hi,

great job!

Found some small details:

Fred
Title: Re: Just another example
Post by: Slavko Ivanovic on April 08, 2009, 12:59:43 AM

ye, i miss to delete
(prompt)

- its a leftover after changing success loading note, from prompt to dcl-messagebox.

And about the girl, i didn't understand ?
Title: Re: Just another example - ODCL game in AutoCAD
Post by: Fred Tomke on April 08, 2009, 02:20:08 AM
Hi,

look at my screenshot and the combobox there is nothing selected and there is nothing in the list to select.

Fred
Title: Re: Just another example - ODCL game in AutoCAD
Post by: Slavko Ivanovic on April 08, 2009, 02:56:34 AM
OK.
Look this pic.

(http://img21.imageshack.us/img21/7276/puzzlescreen1.jpg) (http://img21.imageshack.us/my.php?image=puzzlescreen1.jpg)

For me work fine (tested) on:
ACAD 2004, 2006, 2009, 2010, EN vers.
installed - OpenDCL.Runtime.5.1.0.2.msi


possible:
I defined drop down list in Studio, so must be some kind of version conflict.
I will add one line in code, and fill that list in runtime.

Here.
Try this variations. download v.01.zip
Title: Re: Just another example - ODCL game in AutoCAD
Post by: owenwengerd on April 08, 2009, 05:51:49 AM
I'll bet Fred was using 5.1.0.1, which erased the List property when the combo was displayed.
Title: Re: Just another example - ODCL game in AutoCAD
Post by: Fred Tomke on April 08, 2009, 05:53:08 AM
Yeah, now it's ok! I you want you can publish such samples to the Show&Tell (http://www.opendcl.com/forum/index.php?board=6.0)-board.

Fred
Title: Re: Just another example - ODCL game in AutoCAD
Post by: Fred Tomke on April 08, 2009, 05:55:27 AM
Hm, I'm still using 5.0.2.4 runtime for production.
I didn't quite understand what Owen meant with "which erased the List property when the combo was displayed.".

Fred
Title: Re: Just another example - ODCL game in AutoCAD
Post by: Slavko Ivanovic on April 08, 2009, 08:52:19 AM

Of course, I know for the Show&Tell-board,
but i don't think that this sample is a big deal.

In any case, I'm glad U like it, and in the end I have post it to Show&Tell-board.
After all, it's a too damn long without any sample ;).

Let's change that in future.

Salute