liltbrockie Posted January 15, 2014 Share Posted January 15, 2014 Hi there.. is it possible to change the colour of the "X" in a checkbox field? At the moment it is black and I would like the "X" to be a different colour. Cheers Link to comment Share on other sites More sharing options...
comment Posted January 15, 2014 Share Posted January 15, 2014 There is no "X" in a checkbox; there's only a box that can be either empty or checked. The color of the box is the same as the field's border (if they didn't change this in v.12). Link to comment Share on other sites More sharing options...
liltbrockie Posted January 15, 2014 Author Share Posted January 15, 2014 There is no "X" in a checkbox; there's only a box that can be either empty or checked. The color of the box is the same as the field's border (if they didn't change this in v.12). So in other words no, you can't change the colour of the X! Link to comment Share on other sites More sharing options...
comment Posted January 15, 2014 Share Posted January 15, 2014 You can't change the color of the "X" without changing the color of the containing box as well. ☒ or ☒ Link to comment Share on other sites More sharing options...
Mark Scott Posted January 15, 2014 Share Posted January 15, 2014 Currently (as of FMP13), both the box and the "X" checkmark are properties in the stylesheet that are not exposed for editing in the Inspector, so you can't alter either of them. Editing text color only affects the value labels; adding a fill results in filling the entire control (the area enclosing the checkboxes and value labels); and adding a line places a border around the entire control. Your best option, liltbrockie, is to choose a built-in theme that comes closest to the look you want for checkboxes (as well as for scrollbars, tab controls, and a few other elements that are not yet exposed for styling in the Inspector), and work from there, styling the many elements that are exposed. Hopefully, future FM versions will continue the trend of exposing more elements and properties for direct editing. HTH, Mark 1 Link to comment Share on other sites More sharing options...
liltbrockie Posted January 15, 2014 Author Share Posted January 15, 2014 Currently (as of FMP13), both the box and the "X" checkmark are properties in the stylesheet that are not exposed for editing in the Inspector, so you can't alter either of them. Editing text color only affects the value labels; adding a fill results in filling the entire control (the area enclosing the checkboxes and value labels); and adding a line places a border around the entire control. Your best option, liltbrockie, is to choose a built-in theme that comes closest to the look you want for checkboxes (as well as for scrollbars, tab controls, and a few other elements that are not yet exposed for styling in the Inspector), and work from there, styling the many elements that are exposed. Hopefully, future FM versions will continue the trend of exposing more elements and properties for direct editing. HTH, Mark Yeah sure... OK! Thanks for your tips...... Maybe Filemaker will start using tickboxes as well! (Like most windows applications have been using for the last 20 years)! Link to comment Share on other sites More sharing options...
comment Posted January 15, 2014 Share Posted January 15, 2014 Maybe Filemaker will start using tickboxes as well! (Like most windows applications have been using for the last 20 years)! Why don't you design your own? Easy to do with some conditionally formatted text or a repeating field formatted as Boolean. Link to comment Share on other sites More sharing options...
liltbrockie Posted January 15, 2014 Author Share Posted January 15, 2014 Why don't you design your own? Easy to do with some conditionally formatted text or a repeating field formatted as Boolean. Could do ... I am aware there are workarounds... is there a nice easy way of doing this for a database with about 50 checkboxes spread over 20 layouts though can you recommend? Link to comment Share on other sites More sharing options...
Mark Scott Posted January 15, 2014 Share Posted January 15, 2014 Yeah sure... OK! Thanks for your tips...... Maybe Filemaker will start using tickboxes as well! (Like most windows applications have been using for the last 20 years)! I presume you mean a classic checkmark "√" instead of an "X." I agree. Windows and Mac, alike, have (natively) used checkmarks for years now; the "X" as a checkmark harkens back to the 80s or early 90s. FWIW, FM 12 at least replaced the bitmapped "X" of yore with a vector version for smoother rendering, thus "modernizing" FM (as far as checkboxes go*) from circa 1986 ("The Power of Love") . . . all . . . the . . . way . . . to . . . circa 1991 ("Smells Like Teen Spirit"). Hopefully, in the future they'll bring it right into the 21st Century with a full-on checkmark instead (sounds like feature request time over on FM's feature request page). (*Mind you, I'm quite enamored with FM 12/13's presentation-layer modernization, so this is just a nit-pick thing, not a major complaint.) Meanwhile, you could, as Comment suggested, design your own, perhaps using it as an image fill for a button, or the like. But, in the era of FM Go and WebDirect, there's a big advantage to sticking with native FileMaker controls as much as possible. For me, the new, vector based "X" is sufficiently superior to the old bitmapped version that I've decided to stick with it and resist the temptation to design replacements. That's just my take. Mark Link to comment Share on other sites More sharing options...
comment Posted January 15, 2014 Share Posted January 15, 2014 is there a nice easy way of doing this for a database with about 50 checkboxes spread over 20 layouts though can you recommend? I am sorry, I am having trouble interpreting your question. Is it even a question - or are you just venting? Or even worse - are you venting at me? Link to comment Share on other sites More sharing options...
liltbrockie Posted January 15, 2014 Author Share Posted January 15, 2014 I am sorry, I am having trouble interpreting your question. Is it even a question - or are you just venting? Or even worse - are you venting at me? No No! I thank you for your input! I'm not venting.... just genuinely seeking guidance on the best / easiest way to go about changing a load of checkboxes to tick boxes using the methods you alluded to! Don't worry I shall have a little look and see what I can find! Link to comment Share on other sites More sharing options...
comment Posted January 15, 2014 Share Posted January 15, 2014 Well, assuming your checkboxes are using a value list of "1", just format the field as Boolean and set it to display non-zeros as "a", zeros as [empty]. Set the font to Webdings and make the field a button that toggles itself (if you like, you can use a parameter-driven script for that). Once you have it working, you can just duplicate it and change the underlying field. Link to comment Share on other sites More sharing options...
comment Posted January 15, 2014 Share Posted January 15, 2014 Method 2: Place a big tick on a layout (again, using the Webdings font) and format it conditionally to disappear (fontsize=500) when not Yourfield. Make it and the associated label a button as above. Link to comment Share on other sites More sharing options...
liltbrockie Posted January 15, 2014 Author Share Posted January 15, 2014 Thank you!!! I will have a play Link to comment Share on other sites More sharing options...
comment Posted January 15, 2014 Share Posted January 15, 2014 Have fun! Although I need to point out that there seem to be some issues with using the Webdings font in v.13 under Mac OS: http://fmforums.com/forum/topic/90224-making-a-container-colour-with-calc/?p=415210 I am not sure where this stands ATM. Link to comment Share on other sites More sharing options...
liltbrockie Posted January 16, 2014 Author Share Posted January 16, 2014 Have fun! Although I need to point out that there seem to be some issues with using the Webdings font in v.13 under Mac OS: http://fmforums.com/forum/topic/90224-making-a-container-colour-with-calc/?p=415210 I am not sure where this stands ATM. Ahh thats OK... We would never use Macs here anyway... EVER lol Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 3759 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now