OV_MESSAGE_BOX

LANSA

OV_MESSAGE_BOX

The Things that Make Up this ExampleTo Execute this ExampleBIF Descriptions


  
   DLL Required    : U_BIF998.DLL
   ------------

   Description     : Present a message box
   -----------


   Availability    : Windows       -> YES
                     Unix          -> NO
                     OS/400        -> NO


   ARGUMENTS
   ---------

          Type  Required/                                   Length  Decimals
   Number  A/N  Optional Description                        Min Max Min Max
   ------  ---  -------- -----------                        ------- -------

     1     A     Req     Text to display in message.          1 256

     2     A     Opt     Title to display in message box.     1  40
                         Default is the function description

     3     A     Opt     Button(s) to be enabled.             1   3
                         "O"   = OK
                         "OC"  = OK & CANCEL
                         "C"   = CANCEL
                         "E"   = ENTER
                         "EC"  = ENTER & CANCEL
                         "RC"  = RETRY & CANCEL
                         "ARI" = ABORT, RETRY & IGNORE
                         "YN"  = YES & NO
                         Default is "O"

     4     A     Opt     Icon to be shown in message box.     1   1
                         'N' = no icon
                         'H' = hand icon
                         'Q' = question mark icon
                         'X' = exclamation mark icon
                         'A' = asterisk icon
                         'I' = information icon
                         'U' = query icon
                         'W' = warning icon
                         'E' = error icon
                         Default is 'I'

     5     A     Opt     Default button in message box.       2   2
                         "B1" = button 1
                         "B2" = button 2
                         "B3" = button 3
                         Default is "B1"


   RETURN VALUES
   -------------

          Type  Required/                                   Length  Decimals
   Number  A/N  Optional Description                        Min Max Min Max
   ------  ---  -------- -----------                        ------- -------


     1     A     Req     Button that was used by the user     1   1
                         'E' = ENTER
                         'O' = OKAY
                         'C' = CANCEL
                         'A' = ABORT
                         'R' = RETRY
                         'I' = IGNORE
                         'Y' = YES
                         'N' = NO
                         'X' = error