different Font at .drawstring

Discussion in 'Questions (Windows Mobile)' started by MM2forever, Jun 30, 2008.

  1. MM2forever

    MM2forever Active Member Licensed User

    Hi guys,
    Is there any change to change the font style the drawer uses to draw strings on the form?

    Thanks for your answers. :)
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. MM2forever

    MM2forever Active Member Licensed User

    does this work with forms created with the FormExDesktop too?

    and how should creating the formlib object then?

    Thanks so far
     
  4. agraham

    agraham Expert Licensed User

    It should do. Pass FormEx.ControlRef to SetFontStyle instead of the form name as a string.

    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
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice