Página 1 de 1

How come user-defined functions are cleared out?

Publicado: Dom Jul 22, 2007 7:32 pm
por Guest
I coded some button click code yesterday, and everything ran fine. However,
when I opened the project in Xailer a few minutes ago, the user-defined code,
associated with the button click, was completely cleared out.
In fact, there were two buttons with code attached. Both buttons are still
on the form, but the code behind the button is cleared out. Fortunately,
I created a Zip file with all of the project, so I didn't lose any code.
How should we code, in a way that it won't get lost? Should we just include
any user-defined code in a separate PRG?

How come user-defined functions are cleared out?

Publicado: Dom Jul 22, 2007 8:10 pm
por Guest
Nope, I take it back. The functions weren't cleared out. What seems to be
happening is that sometimes, when you close one project and open another,
the code from the previous project SEEMS to be (but isn't really) included
in the current project. I closed the current project, and then reopened,
and everything's there, as expected.
Oh, well.