Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Script to click on container to fill with image then click again to erase?


This topic is 4354 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted
 
 

I need to make a script that will fill a container field with an image but to make the container field clear again when I click on the container field again. The image toggles when clicked.. How can this be done the best way? Thank you

Posted

I have no understanding of those .. I want to click on the field and get an image in the field, I want to click again on the fleld and get it cleared. That is all I posted a container field that i would like to click on with a picture in it.  I want it to repeatedly do the toggling. 

container burtton.fmp12.zip

Posted
 
 

Thats perfect.  Now one other thing... Is it possible in some way to lock it when I need to. I want to be able to toggle the picture but when it is the way I want the record to somehow lock it from editing  Or TOGGLing any more?

Posted

You could add a global field which when checked will active the script. 

Another alternative, which i would prefer would be to make your script active only if a modifier key is held down when toggling.

This topic is 4354 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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