Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiGetRadioValueString

hiGetRadioValueString( 
o_radio 
) 
=> t_value

Description

Returns the current value of a radio field as a string.

Arguments

o_radio

Specifies the radio field.

Value Returned

t_value

Returns the string corresponding to the value. The value can be one of the following:

  • A string
  • The string member of a string-icon pair.

Examples

Returns the current values, such as hello, instance-table, and instance-add.

form->radio->choices = list( "hello" 
        list("instance-add" "instance-add.png")
        list("instance-table" '("instance-table.png" 20 20))
        "so long" )
        )
form->radio->value = "hello"
=> "hello"
hiGetRadioValueString(form->radio)
=> "hello"
form->radio->value = '("instance-table" ("instance-table.png" 20 20))
=> ("instance-table" ("instance-table.png" 20 20))
hiGetRadioValueString(form->radio)
=> "instance-table"
form->radio->value = "instance-add"
=> "instance-add"
hiGetRadioValueString(form->radio)
=> "instance-add"

Related Topics

Form and Field Functions


Return to top
 ⠀
X