XIOptionsDialog function

Unit: XIComponents

Declaration:

function XIOptionsDialog(aCaption: string; aSourceType: TxiSourceType;
   aSource: string; aStorage: IxiStorage): Boolean;

Executes an options dialog from the XML source with "OK" and "Cancel" buttons, reads data from aStorage, accepts user input and, after the user pressed the "OK" button, writes the data back to aStorage. aCaption is the caption of the dialog box. Depending on aSourceType, aSource contains different kinds of values:

aSourceType value aSource
stFile a file name
stResource name of the linked resource that contains XML source (it can be text or binary)
stRawXML XML source as a single string
stRawBinaryXML "binary" XML as a single string

Return value: true if the function succeeded and false otherwise.

 

The CHM file was converted to HTML by chm2web software.