I have a basic form. When I click Tools-> Options from my application menu, I show another form (OptionsForm) that contains options for changing the font used by the controls. I save the selected font in the properties: Settings: default: some_object. I can get it and update my controls, but only when I click a button on my MainForm.
I tried to call a function written in MainForm from OptionsForm by creating an instance of MainForm to update the control. Font → not working.
How to make sure that whenever I change the font in the properties: Settings: Default: some_object, all controls reflect the change?
Thanks Dev
source
share