Older Newer
Sun, 09 Nov 2008 11:36:26 . . . . SyneRyder [Silly me - there is no printf in FilterMeister, it makes no sense in a GUI envir]


Changes by last author:

Added:
= Info =

== Syntax ==

:int Info(string promptString, ...)

== Arguments ==

:promptString

::Specifies the prompt string for the message window. This string may contain printf-style format descriptors, which will be expanded using the succeeding arguments. It may also contain FilterMeister-specific format descriptors.

:...

::Variable number of arguments of varying types, should correspond to the format descriptors in promptString.

== Return ==

:IDOK once the user has clicked the Ok button.

== Description ==

:This function displays an information box containing a text string and an OK button.

== Example ==

<code>

Info ("Press OK to continue");

Info ("Your image measures: %d x %d", X, Y);

Info ("This is a\nmulti-line\nInfo-box.");

Info ("Your image mode is:\n!M");

</code>

== Also see ==

:msgBox, formatString

== Comments ==

:You can also use FilterMeister format descriptors (such as the !M shown above) in the string passed to the Info function. For a full list of FilterMeister-specific extensions, please see the entry for formatString.