Formlib TextAlignment

Discussion in 'Questions (Windows Mobile)' started by Jendy, May 8, 2007.

  1. Jendy

    Jendy New Member

    When I try to use this it doesn't show TextAlignment in the intellihelp. and when running your TextStyle sample program it errors with "Input String was not in correct format" Please Help..???

    Your Code was..

    Sub App_Start
    Form1.Show
    flb.New1("Form1",B4PObject(1))
    flb.SetFontStyle("Label1",true,true,true,true)
    flb.TextAlignment("TextBox1",flb.alCenter) ***ERRORS on this line

    End Sub

    Jendy
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    This example: http://www.basic4ppc.com/forum/showthread.php?t=27 should work properly.
    Have you unzipped it before running?

    About your code, you should add the FormLib library (to the desktop and to the device) using Tools - Components.
    Afterwards, add a FormLib object named flb using Tools - Add Object.
     
Loading...