shawn857
asked on
MessageDlg buttons not in right order
Hi Experts, I have a 3-button MessageDlg like this:
When it displays, it shows the 3 buttons in the wrong order. It shows them as
YES ABORT IGNORE
when it should be:
YES IGNORE ABORT
However, when I do click a button, it does seem to perform the appropriate action - it's just the order that's wrong. Any idea what would be going on?
Thanks!
Shawn
MsgVar := MessageDlg('Problem found!'+#13#10+#13#10+
'Click YES to proceed and display each occurence of this.'+#13#10+
'Click IGNORE to proceed without showing any more occurrences.'+#13#10+
'Click ABORT to abort this process altogether.', mtWarning, [mbYes,mbIgnore,mbAbort], 0);
if MsgVar = mrYes then FoundDiscrepancy[i] := FALSE
else if MsgVar = mrIgnore then FoundDiscrepancy[i] := TRUE
else EXIT;
When it displays, it shows the 3 buttons in the wrong order. It shows them as
YES ABORT IGNORE
when it should be:
YES IGNORE ABORT
However, when I do click a button, it does seem to perform the appropriate action - it's just the order that's wrong. Any idea what would be going on?
Thanks!
Shawn
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
Shawn