Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Dear Sir,

i have 12 Images Random forms are irregular

and i want to enter values (numbers)

depending of these number how can i change these images color

such example:

if value no1 = 10 change color image no1 to red and if the number is 5 change the color to green ( 3 color for each value)

 

 

There is no way to change the color of an image within FileMaker. You will have to store each color of each image in a table. One way to do this is in a repeating field. See attached example.

BilalAli.fmp12

  • Author

thank you so much 

  • Author

Dear doughemi

thank you again

attach my idea 

1) i want to input 12 data numbers 

2) for each number we have 3 pictures different colors as you say

3) after input data numbers the system appear one of three pictures (condition) if number >5 appear green picture

if number > 10 appear red picture if number > 0 appear blue

at final we input 12 number and appeared 12 picture

Regards

Bilal Ali

 

BilalAli.fmp12

  • Author

not like this

i attach the sample with notes

 

thank you 

Map.fmp12

What do these 12 fields represent? It seems you should have 12 records in a related table instead. That would mean - among other things - one calculation instead of 12.

  • Author

you know lego? this is like a game

the big picture split for 12 piece

and i fill number

each piece color appear depending of value that entered

such as the last attach

 

35 minutes ago, BilalAli said:

he big picture split for 12 piece

That describes a one-to-many structure, as I suggested earlier: one game has many (12 in your example) pieces - so that would require one record in the Games table and 12 related records in the Pieces table.

The missing piece 😊 for me is how many images in total would you have for this. Your file shows 3 different pieces x 3 colors = 9 images. If you have 12 pieces, you should have 12 x 3  = 36 different images.

-
Another thing: there is a way to conditionally format images; if the images are in the SVG format and conform to Filemaker's standard for icon images. Such icons can be used in buttons and in button bars, and you can apply conditional formatting to change their background and/or foreground color. In such case you would need only 12 images.

--
Finally, if you plan to show the pieces assembled together into a single image, then that's an entirely different matter. For this, I would suggest using a web viewer, and change the color of the pieces by modifying the HTML code (somewhat similar to: https://fmforums.com/topic/103625-drawing-in-web-viewer/?do=findComment&comment=470194).

 

 

Edited by comment

  • Author

please check my example, i think you understand the idea 

Map.fmp12

It's the same file you posted earlier, isn't it? 

  • Author

yes
i created everything almost but i don't know how they can work as i want

I have seen this file before my fist post in this thread. We're not making progress here.

  • Author

thank you doughemi for your assistance,
but i'm still until now without solve the project, 
can you help me to as attached file

Regards

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.