Hi,
I have come across a number of examples as how to toggle visibility/enable properties for buttons and other controls all of which work well - until the database is restarted.
So for example, I have a database with demo data, sort of like a tutorial. On the System Config form I have a button titled remove demo data, which runs a simple script clearing all the tables, resetting counters etc.
Once all of that is accomplished I would like to “permanently” hide or delete the button via code to prevent someone from clicking the button again thus destroying their own data. Can this be done?
Thanks