User forums > Help
[CB + wxSmith] delete functions when I delete graphical objects
(1/1)
claudio:
Is it possibile to delete all the functions related to a specific object when I delete if from wxSmith?
Example:
I have a button with the related function for the onclick event. If I delete on wxSmith the button I'd like the function automatically deleted, so I can't mess up with nosense event from nonexisting objects.
Thank you.
MortenMacFly:
--- Quote from: claudio on October 31, 2009, 11:52:52 am ---Is it possibile to delete all the functions related to a specific object when I delete if from wxSmith?
--- End quote ---
No. This would be dangerous as you would probably loose important code fragments (imagine you've modified a handler function to be used from other code, too etc). This is not supported therefore.
claudio:
Thanks for the answer.
Maybe it can ask, or maybe just comment those lines.
Navigation
[0] Message Index
Go to full version