This member of RFIO Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.
The PullScreen method lets you restore a previously saved screen as the current screen while simultaneously deleting the screen file from the RF device’s memory.
VB
bStatus = object.PullScreen (pszScreen)
VC++
HRESULT hr = object->PullScreen(LPCTSTR pszScreen, BOOL *bStatus);
Return Value
bStatus |
The status of the function returned as Boolean True or False values. Use the RFGetLastError method to return the error value. |
Parameters
pszScreen |
The screen file name to be restored. |
Remarks
Use the PushScreen Method to save a current screen file to an RF devices memory. Use the RestoreScreen Method if you wish to restore a screen without deleting it from the RF device’s memory. When used in conjunction, PushScreen and PullScreen or RestoreScreen allow you to temporarily interrupt a displayed screen within your application, then restore the screen to its original state. This allows for faster display when re-using screens.
Example
' VB Sample Code
Dim wlio As New RFIO
.
.
.
' flush the output before using PushScreen.
' You can flush the output with:
' 1. An input call
' 2. The RFFlushoutput method
' 3. The RFPrint method when WLFLUSHOUTPUT is set as the
' display mode
wlio.RFPrint 0, 7, "Version 3.01 ", _
WLNORMAL + WLFLUSHOUTPUT
wlio.PushScreen "Version"
.
.
.
' re-display the Version screen later
wlio.PullScreen "Version"
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other