[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: MESSAGE statement (windows) and the "X", is there a logic behind?

  • Thread starter Thread starter Matt Gilarde
  • Start date Start date
Status
Not open for further replies.
M

Matt Gilarde

Guest
The YES-NO option having no "X" (close window) button is standard Windows behavior. When you ask a Yes/No question the user has to pick one of the choices. Users expect the safer thing to happen when they hit Escape or use the close button but we don't know what the safer thing is when the only choices are Yes and No. What if the question is "Undo Thanos's snap from the last movie? Yes or No?" and you hit Escape? That was our one chance. I also find the fact that Cancel sometimes returns NO and sometimes returns ? inconsistent but this is the documented behavior and changing it now would break existing applications. From the documentation for the MESSAGE statement: "If the alert box has two buttons, they represent the values TRUE and FALSE, respectively. If the alert box has three buttons, they represent the values TRUE, FALSE, and the Unknown value (?), respectively."

Continue reading...
 
Status
Not open for further replies.
Back
Top