Jump to content

Bertf

Member
  • Posts

    76
  • Joined

  • Last visited

Everything posted by Bertf

  1. Hi, When using a function like vs.SetTextFont(objectHd, Start, Count, FontNum), I need an object handler (objectHd) that points to the textbox of which the function has to change the font. my code: h = vs.CreateText('Hello') vs.SetTextFont(h, 0, vs.GetTextLength(h), vs.GetFontID('Arial')) This gives the error: Handle to text object is not valid. What am I doing wrong? :confused: The output of createText is a Handle and the SetTextFont asks for a handler? Thank you! Bert
×
×
  • Create New...