When I try to set a particular font style, say italics, I get an error message "Property cannot be assigned to -- it is read only". How can I set this read only property
Code such as will not work. Instead, you have to create a new Font object, and set the property during its creation. This code will work.