Page History
...
returnvalue = RTI_List(<function>, <listID> [,<param1>] [,<param2>] [,<param3>] [,<param4>])
Remark
See documentation for each function for more information.
See Also
...
Parameters
The function has the following parameters:
Parameter | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
method | A valid Rev_Utility method. BORDERWIDTHS, ERRORTEXT, FSERROR, GETSYSTEMFONTS, SETREADONLY, SETWINDOWSIZE, SYSTEMSIZE, TOKENIZE, VERIFYPROC. | ||||||||||||||||||||||||||||||||
param1... | Each method has different parameter requirements. | ||||||||||||||||||||||||||||||||
param6 | |||||||||||||||||||||||||||||||||
Methods |
| ||||||||||||||||||||||||||||||||
Parameters |
|
Returns
Method | Return Value |
---|---|
BORDERWIDTHS | An @fm-delimited array of window borders for the particular style. <1> The height of the horizontal border of a window frame. <2> The height of the vertical border of a window frame. The values returned are in pixels. |
ERRORTEXT | The Error description for the corresponding error code in the REVERROR.DAT file. |
FSERROR | The FSError and description from the REVERROR.DAT file. |
GETSYSTEMFONTS | Returns an @fm-delimited list of fonts used in the current theme. <1> Caption Font <2> Small Caption Font <3> Menu Font <4> Status Font <5> Message Font |
SETREADONLY | Null |
SETWINDOWSIZE | Null |
SYSTEMSIZE | The size of the desktop area, after allowing for the system tray and other toolbars. <1> X (offset from the left side of the screen) <2> Y (offset from the top of the screen) <3> W (Width of the available desktop) <4> H (Height of the available desktop) |
TOKENIZE | This method tokenizes a string based upon a set of passed delimiters.
|
VERIFYPROC |
Examples
Code Block |
---|
* BORDERWIDTHS Example
borderWidths = Rev_Utility("BORDERWIDTHS","EXAMPLES_MAIN")
hBorder = borderWidths<1>
vBorder = borderWidths<2>
*FSERROR Example
Open "JIMMY_TWO_TIMES" To f_jimmy_2x else
error = Rev_Utility( "FSERROR" )
end
* The error returned if the file does not exist is:
* FS401 - The "JIMMY_TWO_TIMES" table has not been created or attached.
* GETSYSTEMFONTS Example
systemFonts = Rev_Utility("GETSYSTEMFONTS")
* ERRORTEXT Example
Open "JIMMY_TWO_TIMES" To f_johnny else
errorCode = @file.error<1>
errorText = Rev_Utility( "ERRORTEXT", errorCode )
end
/* The errorText variable should be
401 - The "%1%" table has not been created or attached.
*/
* SETREADONLY Example
* Set all the controls on a form to Read Only.
Ctrlmap = Get_Property(@window, "CTRLMAP")
x = Rev_Utility( "SETREADONLY", ctrlmap, TRUE$) |
...