AnsweredAssumed Answered

Disable/Enable layout object from script

Question asked by beaconny on Aug 15, 2012
Latest reply on Aug 17, 2012 by beaconny

Hi, New to FM. Converting application from MS Access for a client. In MS Access it is easy to enable/disable layout object from a script. Cannot find a way to do this in FM.

 

Specifically, I have a pop-up menu where user chooses x, y, z. There are 3 related objects on the layout (same table) where a user enters a date for x, y or z. I would like to be able, in a script, to disable the date objects that do not apply and enable the object that applies - the equivalent in the Inspector of unclicking or clicking the Behavior/Field Entry/Browse Mode.

 

With Conditional Formatting, I can change the color of the date objects, but want to make them inaccessible.

 

Is there a way to do this or is there a work around. Concrete help would be much appreciated. I have 2 books on FM, (FM 12 in Depth and FM Pro 12: the missing manual). Have not found the answer there.

Outcomes