poIQueryCtrl GetDataSourceProperty
Gets the value of the specified property for a given source.
Syntax
poIQueryControl_handle GetDataSourceProperty source property
Application
HyperView Tcl Query
Description
This command retrieves the value of the specified property for a given source.
Note: To be
able to retrieve a property value, it should be set before by using poIQueryCtrl
SetDataSourceProperty.
Inputs
- source
- The source for which the property is sought.
- property
- The property of which the value is sought.
Example
To get the corners property of
node:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set pageIndex [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $pageIndex
set windowIndex [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $windowIndex
myWindowName GetClientHandle myPostName
set modelIndex [myPostName GetActiveModel]
myPostName GetModelHandle myModelName $modelIndex
myModelName GetQueryCtrlHandle myQueryName
myQueryName GetDataSourceProperty node corners
Errors
Returns the data source property, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.