> Le 26 déc. 2017 à 18:19, John Baughman via 4D_Tech <[email protected]> a > écrit : > > [...] > I have always hated the inability to change the background color of a button. > For form buttons that need a colored background, I use a rounded rectangle or > image with a Highlight button on top.
Hi John, you don't need to superimpose a button to a picture to do that (I wonder if highlight button type is on sunset, BTW, I often hear from 4D people "don't"). Having a set of # background rectangles of # colors in Resources folder, in properties list, choose: - object type = 3d button - button style = custom Then you have 2 properties named "Background", choose: - Background source = file - Background name/ID = [picture posix path] Structure: <https://screencast.com/t/tBFJx9AY> Runtime: <https://screencast.com/t/0kPEcHNB38> Doc (at bottom): <http://livedoc.4d.com/4D-Design-Reference-15.4/Working-with-active-objects/3D-Buttons-3D-Check-Boxes-and-3D-Radio-Buttons.300-3285413.en.html> -- Arnaud de Montard ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

