🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Change color of a button after initialisation of the button

    Core 2
    1
    1
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      HappyUser
      last edited by

      How to change the color of a button after initialisation.
      For example : Button Pattern_8(0, 0, 0, 0, false, "Pattern_8", off_clrs, on_clrs, MC_DATUM); //TR_DATUM);
      Pattern_8.off.bg=BLUE;
      But the instruction gives a compilation error. Any idea? Thanks

      1 Reply Last reply Reply Quote 0
      • First post
        Last post