Skip to content



SetContent(Text, Boolean) :#

Summary: The procedure SetContent is used to set the current content to show on this page right before the runmodal command.

procedure SetContent(valuePar: Text; isWebContentPar: Boolean): 


  • valuePar: Use this parameter to define the text or html part that should be displayed.
  • isWebContentPar: Using this Boolean parameter you an set if the given value is of type text or html. This information is used to collect the right viewer type.

Example: This example is used in order to set the html value and to tell the page to use the web page viewer control to display this value afterwards.

SetContent('<html><head><title>Hello world</title></head><body><h1>This is a Heading</h1><p>This is a paragraph.</p></body></html>', true);