Page History
...
The function has the following parameters:
Parameter | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
methodfunction | A valid Rev_Utility method. BORDERWIDTHS, ERRORTEXT, FSERROR, GETSYSTEMFONTS, SETREADONLY, SETWINDOWSIZE, SYSTEMSIZE, TOKENIZE, VERIFYPROCRTI_List function: READ, DELETE. | ||||||||||||||||||||||||||||||||
listID | Name of the saved list (or Key ID) in the SYSLISTS table. | ||||||||||||||||||||||||||||||||
param1... | Each method has different parameter requirements. | ||||||||||||||||||||||||||||||||
param6param4 | |||||||||||||||||||||||||||||||||
Methodsfunctions |
| ||||||||||||||||||||||||||||||||
Parameters |
| ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
Parameters |
|
Returns
Method | Return Value |
---|---|
BORDERWIDTHSREAD | 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 | |
Key IDs. | |
DELETE | Null |
Examples
Code Block |
---|
* BORDERWIDTHSREAD Example borderWidthsDECLARE =FUNCTION 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$RTI_LIST, RTI_CREATEGUID myID = RTI_CREATEGUID("b") ;* MAKE A GUID IN BASE64 FORMAT CALL RLIST(selStmt, 4, myID, "", "") fullList = RTI_LIST("READ", myID) * GETSYSTEMFONTS Example systemFonts = Rev_Utility("GETSYSTEMFONTS") * DELETE Example CALL RTI_LIST("DELETE", myID) |