The state of the Rx item.
Normal | 0 |
Discontinued | 1 |
Incomplete | 2 |
Hidden | 3 |
object.State
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRx interface |
int
Display some information about the Rx collection loaded on the basis of the selected filter, including the states of the Rx items.
Dim aFilter
Dim aRx, aRxCollection
Dim i
Dim aMessage
Set aFilter = Profile.CreateRxFilter
aFilter.RxName = "Pendine"
set aRxCollection = Profile.LoadRxCollection(aFilter)
aMessage = "Rx Items Count = " & aRxCollection.Count &_
vbNewLine & vbNewLine & "# Name" & vbTab & vbTab & "As String" & vbTab &_
vbTab & vbTab & "State"
for i = 0 to aRxCollection.Count - 1
set aRx = aRxCollection.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " & aRx.Name &_
vbTab & aRx.AsString & vbTab & aRx.State
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface State cannot be found, but Rx items can be found in
in or in .