JVCL Help:GetItemVisibleState
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: GetItemVisibleState function
[+] JvDataProvider.pas Functions
Search in JVCL Help
Search in all projectsSummary
Retrieve the visible state of the specified item.
Pascal
run\JvDataProvider.pas
functionGetItemVisibleState(Item: IJvDataItem): TDataItemState;
Parameters
Parameters | Description |
Item: IJvDataItem | Item to determine the visible state of. |
Description
GetItemVisibleState determines the visible state for the specified item. The following rules apply to determine the visible state:
- If a consumer is selected into the provider and the consumer supports theIJvDataConsumerItemState interface, the visible state is retrieved from the IJvDataConsumerItemState.Visible method.
- If the above did not apply or resulted in either the disNotUsed or disIndetermined state and the specified item supports the IJvDataItemStates, the state is copied from the IJvDataItemStates.Visible property.
- If both of the rules above did not apply, the result will be disUnused.
This function is often used by consumer sub services and/or provider implementations (e.g. rendering implementations) to determine the correct state for drawing.
See Also
GetItemCheckedState, GetItemEnabledState, IJvDataConsumerItemState, IJvDataItemStates
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page