If I ready your post correctly, you can see the control when you expect it to, but can't actually select a value from it.
If you reposition the controls to be side by side instead of on top of each other, can you then select a value from the pop up menu when it is visible?
I seem to recall an issue report stating that "hidden" layout objects in WebDirect intercepted mouse clicks intended for an object located beneath it....
Many thanks. I've tried that and you are correct, alongside each other, they function perfectly. So is there an alternative approach to my logic? Once 'Complete' is chosen, it cannot be changed, and as controls can't be enabled/disabled in FM, this was the most suitable work-around. Is this a bug with WebDirect that's going to be fixed?
I don't work for FileMaker and thus have no input as to what bugs will be fixed or when. FileMaker, BTW, makes it a policy to never announce in advance what features/bug fixes a new version of FileMaker might have.
We often had "disabled" buttons in FileMaker before we had the new "hide" feature. All you need do is set up the button's script to do nothing when the conditions indicate that the button should be disabled. A conditional format can change the appearance of the button, such as by turning the button's text a light grey to display the button in a "disabled" state. (You still have to set up the script to do nothing using the same logic as used in the conditional format.)
For info, I got around this by doing the following:
Remove the Text field completely, change the pop-up menu to a drop-down list and add a script to the OnObjectEnter event of the drop-down, which jumps to the next control when Complete has been selected:
If [Client_ACTIVITY::d_Status = ""]
Set Field [Client_ACTIVITY::d_Status, "Pending"]
Else If [Client_ACTIVITY::d_Status = "Complete"]
Go to Field[Client_ACTIVITY::Fixed_Fee]
I guess what would be nice was if I could find a way to make the Status and Date Completed (which also uses the same script) to look 'greyed-out' but this works, so the business is happy.
I guess what would be nice was if I could find a way to make the Status and Date Completed (which also uses the same script) to look 'greyed-out'
That shouldn't be hard to do. and any script performed by a button click can be enclosed in an IF block that only allows the code to execute if it conditions indicate that it is not "disabled".