1. Start a new project.
2. Go to the Tools tab and double click on Button to create a button control on the form.
3. Go to the form and double-click on the button control. This will bring you to the code editor where you will see a function called FORM1_COMMAND1_BN_CLICKED.
4. Go back to the form. In the Workspace click on the Properties tab and rename the button. For axample, let's call it MyButton.
5. Now again double-click on the button control on the form. This will bring you to the code editor where you will see TWO functions both called FORM1_MYBUTTON_BN_CLICKED. So when you rename a control, FireFly renames the function but it also crates a new one.
6. If you try to compile, you will get a "THIS NAME IS ALREADY IN USE" error message.
Respectfully,
Robert
Hi Robert,
Yes, that appears to be a bug.
To prevent the duplicate message handler for the Button you would have to "Save" the project between the time that you change the Button name to "MyButton" and the time taht you double-click the button for the second time.
Update: This bug has been fixed and will be in the next FireFly update (version 3.65).