tblIRule GetValue
Returns the reference value used to compare with the actual value in the cell to determine if the cell passes the rule.
Syntax
tblIRule_handle GetValue
Application
HyperWorks Tcl Query
Description
This command retrieves the reference value used to compare with the actual value in the cell to determine if the cell passes the rule. Returns the reference value or an empty string.
Example
set t [hw::GetT]
set activetableHandle [hwi GetActiveClientHandle ch$t]
set ruleid [ch$t AddRule]
set ruleHandle [$activetableHandle GetRuleHandle rh$ruleid $ruleid]
$ruleHandle SetCellList "A1 A2 B1 B2"
$ruleHandle SetBackgroundColor 3
$ruleHandle SetTextColor 0
$ruleHandle SetValue 10
puts "Rule Id: $ruleid will use [$ruleHandle GetValue] as the reference value."
$ruleHandle SetOperator ">"
$ruleHandle ReleaseHandle
Errors
None.