Consultor Eletrônico



Kbase P163366: 4GL/ABL: Why is the close button (the X button at the upper right corner) of the YES-NO Message Box
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/04/2010
Status: Unverified

GOAL:

4GL/ABL: Why is the close button (the X button at the upper right corner) of the YES-NO Message Box DISABLED?

GOAL:


Why are close buttons of all the OpenEdge Message Boxes ENABLED except for the YES-NO OpenEdge Message Box which is DISABLED?

FACT(s) (Environment):

Windows
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)

FIX:


This is the standard Windows behavior for a YES-NO message box. The logic behind it may be that the close button means "Cancel" so they disable it because a Yes/No choice doesn't include cancel. That doesn't explain why a message box which only has an OK button has the close button enabled, but Windows is not always consistent. On Microsoft applications, the close button of the YES-NO Message Box is sometimes ENABLED and sometimes DISABLED.