Version 3 Technical Highlights - New Message Types
Published By | Date | Version | Knowledge Level | Keywords |
---|---|---|---|---|
Sprezzatura Ltd | 01 OCT 1992 | 3.0+ | EXPERT | MESSAGE, MSG |
The default "Press any key to continue" type message now automatically includes an "OK" button which may be operated with the mouse. Other message types which may be used are as follows
Message Type | Description |
---|---|
BO | Displays text with a normal "OK" button. Returns the key pressed to OK (including cursor keys and the Escape key). If clicked with the mouse returns a 1. |
BOC | Displays text with an OK button and a Cancel button. Returns a 1 if "Yes" clicked and (somewhat inconsistently) a 0 (rather than a null) if Cancel is chosen. |
BNY | Used like an R message but prompts with "Yes No" buttons. "Yes" returns 1, "No" returns 0 |
BNYC | Used like an R message but prompts with "Yes No Cancel" buttons. "Yes" returns 1, "No" returns 0 and "Cancel" returns null. NB although it would seem logical to call this BYNC message type to reflect the prompting order this is not the case. This is doubtless unconnected to the Park Avenue, NYC origin of portions of this code. |
BLabel{,Label2,Label3} | Functionally equivalent to the BNYC message type but any user defined text can be used in place of Yes/No/Cancel. Returns 1 for first choice, 0 for second and null for third. |
(Volume 4, Issue 5, Pages 10,11)