Works perfectly on my MacBook, as expected.
Thank you very much.

Code: Select all
EnableExplicit
XIncludeFile "TextExModule.pbi"
#Window = 0
#Text = 1
#Font = 1
Define Event.i
LoadFont(#Font, "Arial", 11, #PB_Font_Bold)
If OpenWindow(#Window, 0, 0, 180, 60, "Example", #PB_Window_SystemMenu | #PB_Window_ScreenCentered | #PB_Window_SizeGadget)
TextEx::Gadget(111,10,10,160,18,"Some text")
;TextEx::Gadget(111,10,10,160,18,"Some text",TextEx::#Center)
TextEx::SetColor(111,TextEx::#BackColor,$DDA0DD)
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf