How to change the color off Accessory Controls

Tap Forms Database Pro for Mac, iPhone, iPad and Apple Watch › Forums › Using Tap Forms 5 › How to change the color off Accessory Controls

Viewing 4 reply threads
  • Author
    Posts
  • November 26, 2026 at 5:45 PM #54821

    Chris Knight
    Participant

    Hello,

    I made a mistake and ‘upgraded’ my TapForms 5 and when I did the Accessory Controls all became impossible to see. Unfortunately I don’t know what version of TapForms 5 I had been on as I have not been using very much at all for the last several years.

    Anyway, what I have (and have had working for a long time) has a custom layout that has a black background because I can’t use apps that don’t have support for a Dark Mode. Now the Accessory Controls are practically invisible as they lack enough color contrast and I would almost swear that the line thickness has changed but it has been so long since I last used TapForms I am not really certain of that. What I nee to know how to do is change the color of the Accessory Controls to have more contrast. Maybe even make them a little larger.

    Screenshot is attached.

    P.S. I don’t do subscription software. At all, ever, period. So, if migrating to Tapforms Pro is the only answer that is a shame. I will have to find a solution that does not cost $400 to use on the rare occasion.

    Attachments:
    You must be logged in to view attached files.
    November 26, 2026 at 8:49 PM #54823

    Brendan
    Keymaster

    Hi Chris,

    The accessory controls colour is controlled by your Mac’s highlight/Theme colour.

    So set them to something lighter and that’ll help.

    Thanks,

    Brendan

    November 26, 2026 at 8:59 PM #54824

    Brendan
    Keymaster

    Oh whoops… I should have checked Tap Forms 5 before responding. I forgot that those accessory control icons have their colour built-in to the icons.

    In Tap Forms Pro I switched from custom icons to using Apple’s SF Symbols, which change their colour depending on the accent colour of the device.

    Attachments:
    You must be logged in to view attached files.
    November 27, 2026 at 3:52 PM #54827

    Chris Knight
    Participant

    Hi Brendan,

    Thank you for your reply. So, what you are saying is that I cannot change the color of the icons in TapForms5. Correct?

    Is there a way then I can script my own inserted image to open the correct picklist or the calendar date chooser thing?

    Or, some other way, in TapForms5, it be able to wither see the built-in accessory control icons on a dark background, or get the same functionality that they are there to provide?

    Thanks in advance,
    Chris

    November 27, 2026 at 8:07 PM #54828

    Brendan
    Keymaster

    Changing all the icons was one of the things I did when I overhauled Tap Forms 5 to become Tap Forms Pro (plus many many more features an enhancements and swapping out the entire back-end database engine).

    Tap Forms 5 was basically written before the days of dark mode and updating the custom layouts to fully support dark/light mode switching was a big undertaking at the time. You no longer need to fake it with a black background to pretend to be dark mode. Tap Forms Pro does it all for you.

    You could add a Form Script button which presents an alert with a pick list of values you can select from a popup button and have it put the selection into a field.

    var output = function printOut(continued) {
           if (continued == true) {
    	   console.log(username + ", " + password + ", " + email_address + ", " + other_field + ", " + genre);
           } else {
              console.log("Cancel button pressed.");
           }
    }
    
    var username = 'test username';
    var password;
    var email_address;
    var other_field;
    var genre;
    var genres = ['Action & Adventure', 'Comedy', 'Drama', 'Horror', 'Science Fiction'];
    
    let prompter = Prompter.new();
    prompter.cancelButtonTitle = 'No Thanks';
    prompter.continueButtonTitle = 'Go For It!';
    prompter.addParameter('Username: ', 'username', '', '', username)
    .addParameter('Password: ', 'password', 'secure')
    .addParameter('Email Address: ', 'email_address')
    .addParameter('Other: ', 'other_field')
    .addParameter('Genre: ', 'genre', 'popup', genres)
    .addParameter('Media Type: ', 'media_type', 'picklist', 'Media Types List')
    .show('Enter a Username and Password and Stuff', output);

    You can then place your buttons anywhere on your layout.

    Unfortunately there isn’t a way to replace the accessory button icons inside the app.

    Although another kinda awkward solution would be to place a white filled rectangle behind each accessory button so they stand out from the black background though. Use the Layers tab to place the rectangles behind the buttons.

    Thanks,

    Brendan

Viewing 4 reply threads

You must be logged in to reply to this topic.