1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

B4J Question B4XDialog Color

Discussion in 'B4J Questions' started by Blueforcer, Apr 8, 2019.

  1. Blueforcer

    Blueforcer Active Member Licensed User

    Good Morning,

    How can i change the color of the whole Dialog?
    I found everything exept the list color itself.

    Thanks

    upload_2019-4-8_7-56-55.png
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Are you using the list template?
     
  3. Blueforcer

    Blueforcer Active Member Licensed User

    Yes, but i also using InputTemplate
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Code:
    Dim l As B4XListTemplate
    l.Initialize
    l.Options = 
    Array("a""b""c")
    l.CustomListView1.DefaultTextBackgroundColor = 
    0xFFDDDDDD
    l.CustomListView1.DefaultTextColor = xui.Color_Black
    l.CustomListView1.AsView.Color = 
    0xFFDDDDDD
    dialog.BackgroundColor = 
    0xFFDDDDDD
    dialog.ButtonsColor = 
    0xFF8F8F8F
    dialog.ShowTemplate(l, 
    "Yes""No""Cancel")
    [​IMG]
     
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