Not sure if there's a problem here or not, but I wasn't tempted to solve it without asking first.
I placed a combobox on a form, and then added code for the SELCHANGE event. All hunky dory.
Some time later I decided I didn't like the combobox, so I deleted it and added a listbox instead - different name to the combobox.
The combobox code is still in the editor window. The program compiles and runs fine.
However, can I go into the code editor and just delete the surplus combobox code?
The reason for asking is that when I gave FireFly it's first flight I recall that I deleted some of the event code, and it caused no end of problems in the project thereafter. It's left me feeling nervous about deleting any code which FireFly might have generated.
Andrew
You can always delete any of the code that you have entered yourself. You should always do this from inside FireFly's code editor (not via an external editor using the FireFly generated code - unless you really know what you're doing). When FireFly does the next compile, it will see that no code now exists for the message so it will simply skip it.
That'll be where I went wrong before I suspect - I used a text editor to remove some code, or perhaps more correctly used the text editor to insert some code before using in FireFly.
No lasting damage done because I was still in learning mode, but it's worth noting the 11th commandment:
"Though shalt not use an external text editor on FireFly projects unless you know what you are doing".
Andrew