I am using Xojo 2022 Release 4.1 on macOS Ventura 13.1.
A DesktopTextArea with SelectionItalic set to true gets this setting cleared (set to false) when text is entered in the text area. The text would be in whatever font style it was before italic is selected.
The text area is using System font, and bold and underline work fine. What is being observed here is the SelectionItalic is being turned off (value observed is ‘false’), while this selection is set to ‘true’ prior to any text being entered to the text area.
Mac apps can only display font styles that are available. You cannot force a font to display in bold or italic if it does not have bold or italic variations available. In this situation, the Italic property will not affect the font.