PDA

View Full Version : Make an external control visible



matt.antone
May 7th, 2009, 11:06 AM
Hi All,

I've got a list with mixed filepaths. One file path is a link to media the other links to an rss feed.

I want to display a control when the rss feed listitem is selected.

Since a list item does not have a <onfocus> tag, I've included a button in the list item. So when the listitem gains focus the button gains focus.

Now. I've got the following code in the <onfocus>

print "making visible"
mc.GetWindow(14000).GetControl(503).SetVisible(Tru e)

Nothing happens. I don't even get a error, but I do get the print, so I know the onfocus event is being fired.

Any ideas?

matt.antone
May 7th, 2009, 11:07 AM
Not sure what happend in the post but "True" does not have the space displayed above.

jontas
May 7th, 2009, 05:03 PM
Try replacing "true" with 1 (no quotes or anything)

Jon

idan
May 11th, 2009, 08:42 AM
i'd love to help but i dont understand exactly what you mean. do you want to have several types of items in the list and display each type separately and conditionally?