Change Name mapped object property value
Can we change the property value of the object which is already Name mapped . while adding object in name mapping i.e. in 'Name Mapping Item' pop up window, corresponding property is not selected i..e its in 'Available' list.
For more detail:
I Created Name mapped for the object of the button 'Import'. I selected the following property
"NativeClrObject=btnImport' but not selected 'WPFControlIndex" property which is value 2.
Using the aqObject.SetPropertyValue , set the property value of the ''WPFControlIndex' to 3 but after executing the following code, still get the value 2 instead of 3
See the below code:
Set btnImport=Aliases.Waters_Portal.btnImport
aqObject.SetPropertyValue btnImport,WPFControlIndex,3
Msgbox btnImport.WPFControlIndex ' Display 2 instead of 3.
Can anyone tell me where i'm doing wrong.