December 4, 200916 yr Tip: Here's a hugely annoying aspect of the "Show Custom Dialog" script step. I recently wrestled with it and thought I'd post the tip in case anyone else is stuck. When including fields in a Custom Dialog (e.g. "Please enter the amount of whatever you're doing" [amount field]), the data the user enters in that field WILL NOT BE RETAINED unless "OK" is the default button. I had switched the default to "cancel," and kept losing the field info. Switch default to "OK," and option 2 to "cancel," and the info will stick around.
December 4, 200916 yr It actually now says it in FM Help (I'm unsure that it used to) [color:gray]Button 1, the default or rightmost button, is the only button that will write information from the input fields to a file. ... but it sure would be nice if it said so on the custom dialog itself. After all, there is plenty of room on it. :wink2:
December 18, 200916 yr I agree this is HUGELY annoying. I use the dialog boxes mostly to confirm that the user is about to do something difficult to reverse or whose ramifications are significant. I use the default button to cancel as a defense against users just pressing the Enter key to get past those "pesky" messages without reading the text. Now, if I also want to ask the user for input I have to give up consistency within my GUI. I am hard pressed to think of a reason for this default button only restriction in the first place! Edited December 18, 200916 yr by Guest
Create an account or sign in to comment