|
<< Click to Display Table of Contents >> Navigation: Quick3270 functions and statements > WaitForAttrib |
Description
Waits until the specified attribute is displayed at the specified screen location.
Returns True if the Attribute Value is found,
Syntax
Boolean WaitForAttrib(row, col, Waitdata, [optional] MaskData, [optional] plane , [optional] TimeOut, [optional] WaitForIr)
Parameters
Part |
Type |
Description |
row |
Integer |
Required. Row position of the attribute. |
col |
Integer |
Required. Column position of the attribute. |
Waitdata |
Integer |
Required. Specifies the value of the attribute to wait for. |
MaskData |
Integer |
Optional. Specifies the value to use as a mask with the attribute. |
plane |
Integer |
Optional. Specifies the plane of the attribute to get. 1 Text Plane 2 Color Plane 3 Field Plane (default) 4 Extended Field Plane The default value is 3. |
TimeOut |
Integer |
Optional. Specifies the maximum length of time in milliseconds to wait. |
WaitForIr |
Boolean |
Optional. If this value is true, after meeting the wait condition the function will wait until the session is ready to accept input. |
Returns
The function returns True if the condition is met or False if the Timeout value is exceeded.