PrtItem.SetStatusBit (Method)

Syntax

PrtItem.SetStatusBit Bit%

Description

Sets a specific bit (0 through 31) of the Status Mask for an Item.

Example

Dim CurPrt as new prtregion

CurPrt.Id = "EXITREGION"

CurPrt.GetItemList

'Get a list of items in a region, check each one's status bit,

'    then set it if it's not already set.

If CurPrt.Item(0).StatusBit(J%) = FALSE Then

        CurPrt.Item(I).SetStatusBit J%

        CurPrt.Item(I).Modify

End If

More information

PRT Object Model member list.