Rice Lake iRite IDE User Manual

Page 51

Advertising
background image

920i

Programming Reference - API Reference

47

ResumeDisplay

Resumes a suspended display.

Method Signature:
procedure ResumeDisplay

SetConsecNum

Sets V to the value of the consecutive number counter.

Method Signature:
function SetConsecNum (V : Integer) : SysCode;

Parameters:

[in]

V

Consecutive number

SysCode values returned:

SysOutOfRange

The value specified is not in the allowed range. The consecutive number is not
changed.

SysOK

The function completed successfully.

SetDate

Sets the date in DT to the values specified by Year, Month, and Day.

Method Signature:
function SetDate (VAR DT : DateTime; VAR Year : Integer; VAR Month : Integer; VAR
Day : Integer) : SysCode;

Parameters:

[out]

DT

DateTime variable name

[in]

Year

Year

[in]

Month

Month

[in]

Day

Day

SysCode values returned:

SysInvalidRequest

Year, month, or day entry not valid.

SysOK

The function completed successfully.

SetSoftkeyText

Sets the text of softkey K (representing F1–F10) to the text specified by S.

Method Signature:
function SetSoftkeyText (K : Integer; S : String) : SysCode;

Parameters:

[in]

K

Softkey number

[in]

S

Softkey text

SysCode values returned:

SysInvalidRequest

The value specified for K is less than 1 or greater than 10, or does not represent a
configured softkey.

SysOK

The function completed successfully.

SetSystemTime

Sets the realtime clock to the value specified in DT.

Method Signature:
function SetSystemTime (VAR DT : DateTime) : SysCode;

Parameters:

[in]

DT

System DateTime

SysCode values returned:

SysInvalidRequest

Hour or minute entry not valid.

SysOK

The function completed successfully.

Advertising
This manual is related to the following products: