AMSG() Short: ------ AMSG() Pop up message box for an array of messages Returns: -------- Nil Syntax: ------- aMsg(aMsgs,[cTitle],[cFooter],[lCenter],[cColor],[nTop,nLeft]) Description: ------------ Pops up a box to display messages in <aMsgs>. Each element of <aMsgs> can be of type Character, Numeric, Date or Logical. The box is centered in the middle of the screen by default. [cTitle] is an optional title string displayed at <nTop>,<nLeft+1> [cFooter] is an optional footer string displayed at <nBottom>, <nLeft+1>. Default footer is "Press a key.." [lCenter] determines center messages in box or not. by default, message lines are left justified. Passing True causes messages to be centered. [cColor] is the color of the popup box. By default, is sls_popcol() [nTop,nLeft] are optional TOP/LEFT dimensions for the box. Default is centered on the screen, and big enough to hold all of the message lines. Examples: --------- aArray := {"Attention:","all items are on sale for",1.99,; "today only",date()} amsg(aArray,"Sale",nil,.t.) Notes: ------- If there are more message lines than will fit in the box, up/down arrows will scroll the messages. See MSG() Source: ------- S_AMSG.PRG
Pingback: SP Popup Functions | Viva Clipper !
Pingback: SP Functions | Viva Clipper !