Jump to content

Put a pic on a button


evrcarlson

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

Recommended Posts

  • Newbies

New to FM. Is it possible to have a picture represent a button to go to a report? Example: the button would be a picture of a Barn; by clicking on the button the action would display the report on Farms in the area that have rental Barns. Or is there a way to insert a picture onto a button?

evrcarlson

Link to comment
Share on other sites

Paste the graphic on the layout and assign it Behavior>button.

If you feel that you might want to swap out this graphic and that you'll use it on many layouts, then use a gContainer field (global storage on a container) and put your graphic in the gContainer field.

Global fields are user session specific, therefore your Open Script needs to set this gContainer field. So, you need a corresponding Container field that holds the graphic. This field needs to be in a single record table (ie, a Prefs table).

Edited by Guest
Link to comment
Share on other sites

This topic is 4886 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.