M MM2forever Active Member Licensed User Longtime User Jun 30, 2008 #1 Hi guys, Is there any change to change the font style the drawer uses to draw strings on the form? Thanks for your answers.
Hi guys, Is there any change to change the font style the drawer uses to draw strings on the form? Thanks for your answers.
Erel B4X founder Staff member Licensed User Longtime User Jun 30, 2008 #2 Yes. You should change the font style of the Form with FormLib.SetFontStyle.
M MM2forever Active Member Licensed User Longtime User Jun 30, 2008 #3 does this work with forms created with the FormExDesktop too? and how should creating the formlib object then? Thanks so far
does this work with forms created with the FormExDesktop too? and how should creating the formlib object then? Thanks so far
agraham Expert Licensed User Longtime User Jun 30, 2008 #4 MM2forever said: does this work with forms created with the FormExDesktop too? Click to expand... It should do. Pass FormEx.ControlRef to SetFontStyle instead of the form name as a string. and how should creating the formlib object then? Click to expand... 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
MM2forever said: does this work with forms created with the FormExDesktop too? Click to expand... It should do. Pass FormEx.ControlRef to SetFontStyle instead of the form name as a string. and how should creating the formlib object then? Click to expand... 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