TextAdd

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber TextAdd(SalNumber nType, SalString sMessage)

The TextAdd method outputs a message of any type in the IFS/Client runtime debug console.

Parameters

Name Description
SalNumber nType The type of the message. Possible values are any of the Const.CONS_* constants.
SalString sMessage The text that will be displayed in the console

Returns

This method does not return a value.

Example

If Not bUserIsManager
   Call picTabs.Delete( picTabs.FindName( 'tabManager' ) )
   Call Console.TextAdd( CONS_ClientSecurity, 
      'Manager tab removed because the user is not manager' )
C# coding
TextAdd(Const.CONS_ClientOther, "Console: Client is not connected to a server session, server initializations are queued");