Welcome Features News Download Registration Support FAQ Wish list Links
Advanced stock charting and analysis program

A-Z Index | Category Index |

POPUPWINDOW
- display pop-up window

Miscellaneous functions
(AFL 3.0)


SYNTAX PopupWindow( bodytext, captiontext, timeout = 5, left = -1, top = -1 );
RETURNS NOTHING
FUNCTION The function creates and displays pop-up window with specified bodytext, captiontext.

Parameters:

  • bodytext - the string containing the text of the window body
  • caption - the string containing the text of window caption
  • timeout - auto-close time in seconds (default 5 seconds)
  • left - top-left corner X co-ordinate (default = -1 -means auto-center)
  • top - top-left corner Y co-ordinate (default = -1 - means auto-center)
EXAMPLE if( ParamTrigger("Display Popup Window", "Press here" ) )
{
    
PopupWindow("Current time is: " + Now(),"Alert", 2, 640*mtRandom(), 480*mtRandom());
}
SEE ALSO ParamColor() function , ParamDate() function , ParamField() function , ParamList() function , PARAMSTR() function , ParamStyle() function , ParamTime() function , ParamToggle() function , ParamTrigger() function

References:

The PopupWindow function is used in the following formulas in AFL on-line library:


Add your comment:

(please do not ask questions here, if you have a question please send it to support e-mail address)

Your name:
Your e-mail:
Comment:
 

About | Privacy | Terms of Use | Contact information
Copyright © 2003 AMIBROKER.COM