Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Delete bug?

Author
Message
Dark GDK NET
15
Years of Service
User Offline
Joined: 27th Feb 2009
Location:
Posted: 2nd Mar 2009 10:41
Hi,

Is it a bug in the delete function?
In my program it seems to use the ID of the last deleted object when loading a new one.

E.g. If I have 5 different objects (ID 1 - 5). If I delete object ID 2 and 4 and load two new ones the first object will recieve ID 4 and the second one ID 2.

Is there a way to sort the "delete stack"?
Niels Henriksen
19
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 2nd Mar 2009 21:23 Edited at: 2nd Mar 2009 21:24
I dont think that TGC likes the name you have chosen....

By reusing the ID numbers you dont run out of numbers when you are making a lot of objects.

Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 3rd Mar 2009 00:31
and darkgdk.net is oop, so why even bother with id's?

learn some proper oop manners

Keep it simple.
Questions? Mail me
Dark GDK NET
15
Years of Service
User Offline
Joined: 27th Feb 2009
Location:
Posted: 3rd Mar 2009 07:18
Sorry for the name, I guess I was tired when I entered the information and I didn't notice it was the Nick in the forum I entered...

Regarding the ID's i can't get the pick function to work. How do you decide wich object that is the first/last without using the ID's?

Login to post a reply

Server time is: 2024-04-16 16:18:30
Your offset time is: 2024-04-16 16:18:30