Colored Text Fields/ Text Area

  1. 2 years ago

    Jeffery L

    is not verified 25 Nov 2018 Testers, Xojo Pro Northwest Montana

    Any way to get a colored text field or text area? Looking for an editable field that will be the same color as the back color of the view. Thanks for any help.

    https://github.com/jkleroy/iOSDesignExtensions

    //This code in the open event of an iOSTextField will set the background color to red
    me.SetBackgroundColorXC(&cFF0000)
  2. Dave S

    26 Nov 2018 San Diego, California USA

    Due to the fact that Xojo decided not to expose certain fundamental properties of iOS controls. the use of Declares is the only way to overcome this shortcoming. Perhaps somebody will publish them for you.

  3. Checkout iOSDesignExtensions by @Jeremie L it has the functionality you need.

  4. Jeremie L

    26 Nov 2018 Testers, Xojo Pro, XDC Speakers, MVP Answer Europe (France) - packr.app

    https://github.com/jkleroy/iOSDesignExtensions

    //This code in the open event of an iOSTextField will set the background color to red
    me.SetBackgroundColorXC(&cFF0000)
  5. last year

    Philip C

    10 Feb 2019 Testers, Xojo Pro Cooroy, QLD, Australia

    Paul has added this to the docs.......
    https://docs.xojo.com/Declare-iOS#Change_Control_Background_Color

or Sign Up to reply!