Dear code gurus,
I am trying to change the font of the button displayed in the dialog to bold and back (depending on certain events in the program). However, when I try something like
I receive the folloing error:Code:MyButton.Font.Bold = true;
"Property or indexer 'System.Drawing.Font.Bold' cannot be assigned to -- it is read only"
Does anybody know how to do it properly?
Thank you in advance!!!




Reply With Quote