Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)
Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529) Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)
AdfinX Real Time 1.0 Library - User's Guide Return Value Returns the status of the field in the item. Error handling If the Source has not been set (i.e. the source is in the state RT_SOURCE_NOT_SET) an error exception is thrown. Example Public list as AdxRtList Set list = New AdxRtList Dim ItemList(0 To 1) as Variant ItemList(0) = "EUR=" ItemList(1) = "JPY=" Dim FieldList(0 To 1) as Variant FieldList(0) = "BID" FieldList(1) = "ASK" list.RegisterItems ItemList, FieldList list.StartUpdates RT_MODE_IMAGE Data = list.value("EUR=", "BID") FStatus = list.FieldStatus("EUR=", "BID") 'Sets FStatus to RT_FIELD_OK or RT_FIELD_UNKNOWN' 2.1.15. ItemStatus ItemStatus(ItemName) This property returns a value from the RT_ItemStatus enumeration. Arguments ItemName The name of the item as a string. Return Value Returns the status of the item. Error handling If the Source has not been set (i.e. the source is in the state RT_SOURCE_NOT_SET) an error exception is thrown. 18
AdfinX Real Time 1.0 Library - User's Guide Example Public list as AdxRtList Set list = New AdxRtList Dim ItemList(0 To 1) as Variant ItemList(0) = "EUR=" ItemList(1) = "JPY=" Dim FieldList(0 To 1) as Variant FieldList(0) = "BID" FieldList(1) = "ASK" list.RegisterItems ItemList, FieldList IStatus = list.ItemStatus("EUR=", "BID") 'Sets IStatus to the status of the item, such as RT_ITEM_OK or RT_ITEM_STALE' 2.1.16. ListStatus ListStatus This property returns a value from the RT_ListStatus enumeration. This value reflects the status of the AdxRtList object itself. Arguments None Return Value Returns the status of the list. Error handling If the Source has not been set (i.e. the source is in the state RT_SOURCE_NOT_SET) an error exception is thrown. Example Public list as AdxRtList Set list = New AdxRtList Status = list.ListStatus 'Sets Status to the status of the list object; this will be RT_LIST_INACTIVE if no items have been registered. ' 2.1.17. SourceStatus SourceStatus This property returns a value from the RT_SourceStatus enumeration. This value reflects the status of the source defined by the Source property of the AdxRtList object. 19
- Page 1 and 2: AdfinX Real Time 1.0 Library User's
- Page 3 and 4: AdfinX Real Time 1.0 Library - User
- Page 5 and 6: AdfinX Real Time 1.0 Library - User
- Page 7 and 8: AdfinX Real Time 1.0 Library - User
- Page 9 and 10: AdfinX Real Time 1.0 Library - User
- Page 11 and 12: AdfinX Real Time 1.0 Library - User
- Page 13 and 14: AdfinX Real Time 1.0 Library - User
- Page 15 and 16: AdfinX Real Time 1.0 Library - User
- Page 17: AdfinX Real Time 1.0 Library - User
- Page 21 and 22: AdfinX Real Time 1.0 Library - User
- Page 23 and 24: AdfinX Real Time 1.0 Library - User
- Page 25 and 26: AdfinX Real Time 1.0 Library - User
- Page 27 and 28: AdfinX Real Time 1.0 Library - User
- Page 29 and 30: AdfinX Real Time 1.0 Library - User
- Page 31 and 32: AdfinX Real Time 1.0 Library - User
- Page 33 and 34: AdfinX Real Time 1.0 Library - User
- Page 35 and 36: AdfinX Real Time 1.0 Library - User
- Page 37 and 38: AdfinX Real Time 1.0 Library - User
- Page 39 and 40: AdfinX Real Time 1.0 Library - User
- Page 41 and 42: AdfinX Real Time 1.0 Library - User
- Page 43 and 44: AdfinX Real Time 1.0 Library - User
- Page 45 and 46: AdfinX Real Time 1.0 Library - User
- Page 47 and 48: AdfinX Real Time 1.0 Library - User
- Page 49 and 50: AdfinX Real Time 1.0 Library - User
- Page 51: AdfinX Real Time 1.0 Library - User
<strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> <strong>1.0</strong> <strong>Library</strong> - <strong>User</strong>'s <strong>Guide</strong><br />
Example<br />
Public list as AdxRtList<br />
Set list = New AdxRtList<br />
Dim ItemList(0 To 1) as Variant<br />
ItemList(0) = "EUR="<br />
ItemList(1) = "JPY="<br />
Dim FieldList(0 To 1) as Variant<br />
FieldList(0) = "BID"<br />
FieldList(1) = "ASK"<br />
list.RegisterItems ItemList, FieldList<br />
IStatus = list.ItemStatus("EUR=", "BID")<br />
'Sets IStatus to the status of the item, such as RT_ITEM_OK<br />
or RT_ITEM_STALE'<br />
2.1.16. ListStatus<br />
ListStatus<br />
This property returns a value from the RT_ListStatus enumeration. This value reflects the status of<br />
the AdxRtList object itself.<br />
Arguments<br />
<strong>No</strong>ne<br />
Return Value<br />
Returns the status of the list.<br />
Error handling<br />
If the Source has not been set (i.e. the source is in the state RT_SOURCE_NOT_SET) an error<br />
exception is thrown.<br />
Example<br />
Public list as AdxRtList<br />
Set list = New AdxRtList<br />
Status = list.ListStatus<br />
'Sets Status to the status of the list object; this will be<br />
RT_LIST_INACTIVE if no items have been registered. '<br />
2.1.17. SourceStatus<br />
SourceStatus<br />
This property returns a value from the RT_SourceStatus enumeration. This value reflects the status<br />
of the source defined by the Source property of the AdxRtList object.<br />
19