different Font at .drawstring

agraham

Expert
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

"FormEx1.New1("Form1")"

and uses it on a FormEx to build the menus

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

Do a similar thing for SetFontStyle
 
Top