Hilmar,
I've finally figured it out, and yes, you did point me in the right direction.
I recently put a menu on the form in question and I did read a bit about how it's supposed to called.
Said something about, if you want to run more than one instance of the form, call it with 2 parameters....and I thought yeah, why not, so that's just what I did.
What I did not read until now, was that if you do that it changes the name of the form to the name of the menu.
Small wonder that debugging becomes impossible-every time you compile, the thing changes name!
Thank's for your help.
Peter
>Randomly generated? Two ideas come to my mind, but they are probably just wild guesses.
>
>1) Some function names are indeed randomly generated, if you don't assign a name; but this happens mainly in menus, I think.
>
>2) If you use a class hierarchy (which should be a part of most frameworks), at some moment you will be executing code from a higher-level class.
>
>Hilmar.
>
>>Hilmar,
>>
>>It's seven allright, but I believe the issue lies elsewhere, because this used to work, and then it just stopped to work after I made some changes.
>>
>>I don't know what it means, but an indication could be, that if I open the form in the debugger, and step through it, at some point I get a form with what looks like a randomely genereated name and that's the one that I'm actually running.
>>
>>Does this make sense to you?
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)