Skip to content

Replies

0
prasad
prasad answered on May 20, 2011 7:27 AM

Now what  i want to retrieve the all items in that particular combo box. can u help me in this regard?

0
prasad
prasad answered on May 20, 2011 7:25 AM

hi, i was able to find the value of that particular combo box using the following lines of code.

here KeyStringCal is my own array with the keys of the combo boxes i want to take.

because "Value" property is valid for combo box, text box whether "text" property is valid for calender or dateselector i suppose.

set Toolbars = SwfWindow("").SwfToolbar("").Object.ToolbarsManager.Tools

    For x = 0 to (Toolbars.count) -1
     For y = 0 to arraycount
      If Toolbars.GetItem(x).Key = KeyStringCal(y)  Then
       PutValues(y) = Toolbars.GetItem(x).value
      End if
     Next 
    Next

 

 

0
prasad
prasad answered on May 16, 2011 3:07 PM

IG : Member [Tools] not valid.

still the same issue i m getting

the controls hierarchy is something like this

window -> toolbar -> ribbon -> tabs -> groups -> tools

hope it could help you in giving solution

0
prasad
prasad answered on May 13, 2011 9:19 AM

for the first solution its giving error as:

IG : Member [Value] not valid.

0
prasad
prasad answered on May 13, 2011 9:19 AM

for the first solution its giving error as:

IG : Member [Value] not valid.

0
prasad
prasad answered on May 13, 2011 9:17 AM

Hi,

i tried with both the things but geeting exception error as:

IG : Getting property value for [MergedTools[""].UnderlyingTool.Value] throws the following exception:
 Key not found
Parameter name: key

for the second solution