WinFBE Suite 1.7.0 (July 29, 2018)

Started by Paul Squires, July 29, 2018, 08:50:51 PM

Previous topic - Next topic

Paul Squires

Okay, I'm working on doing the automatic code changes whenever a form or control name is changed. I have also built in a check to ensure that form or control names can not be changed to names that already exist. I also added a check to ensure that form and control names only contain alphanumeric characters.
Paul Squires
PlanetSquires Software

Marc Pons

Hi Paul,

just tested the design part ,
if adding a button, the code gets a new function according the new element
but if i delete that button the code is still having the previous function, it should be deleted also ?

Paul Squires

Quote from: Marc Pons on August 01, 2018, 04:53:14 AM
just tested the design part ,
if adding a button, the code gets a new function according the new element
but if i delete that button the code is still having the previous function, it should be deleted also ?

That is by design. I am hesitant to delete code simply because the user deletes the button. I will test later to see how Visual Studio handles such situations but I am uncomfortable deleting large chucks of user code just because the control itself was deleted.
Paul Squires
PlanetSquires Software

Johan Klassen

Quote from: Paul Squires on August 01, 2018, 08:49:14 AM
... I am uncomfortable deleting large chucks of user code just because the control itself was deleted.
I agree, I can always delete the superfluous code or leave it there until I am sure I won't need to refer to that code.