different Font at .drawstring


Licensed User
does this work with forms created with the FormExDesktop too?
It should do. Pass FormEx.ControlRef to SetFontStyle instead of the form name as a string.

and how should creating the formlib object then?
Look in theFormExDemo app. That creates a FormLib on a donor form


and uses it on a FormEx to build the menus

"Formlib1.AddContextMenu(FormEx1.ControlRef, ContextMenu1.value)

Do a similar thing for SetFontStyle