Dear Sir/Madam
I have created an UI using the skill APIs. In this UI I have many fields including the library names and cell names.
In my UI, I want to display the cell names in the "'cellName" field from the library selected in the "libName" field. I have written the following code:
hiCreateCyclicField(
?name 'libName
?choices sort( ddGetLibList()~>name 'alphalessp )
?prompt "Library"
?defValue "PRIMLIB"
?callback "aquaQrc~>cellName~>choices = sort( ddGetObj(aquaQrc~>libName~>value)~>cells~>name 'alphalessp )" ; callback
)
...
..
hiCreateCyclicField(
?name 'cellName
;?choices sort( ddGetObj(car(ddGetLibList()~>name))~>cells~>name 'alphalessp ) ; commented
?choices sort( ddGetObj(aquaQrc~>libName~>value)~>cells~>name 'alphalessp ) ; Uncommented
?prompt "CellName"
?callback "aquaQrc~>cellName~>choices = sort( ddGetObj(aquaQrc~>libName~>value)~>cells~>name 'alphalessp )" ; callback
)
I get the below mentioned error using the above code,
*Error* eval: unbound variable - aquaQrc
Steps to reproduce the issue:
I. invoke virtuoso (all the skill files are loaded at the time of invoking the virtuoso)
ii. click menu to create UI, (The UI is enabled by menu)
but If I load the skill file again using the load command on CIW, click Menu, my UI is created and function as designed without any error. 'cellName field display the cellnames from the default "PRIMLIB" library.
If I uncomment the commented line, and comment the line below it, then I don't get any error, but 'cellName field doesn't show the cellnames from the default "PRIMLIB" library.
Seems like, formHandle aquaQrc isn't created just after the virtuoso is started.
Can you please suggest some work-around to this problem?