Getting the current selection
#18
BUMP
exact same problem.

It seems like such a basic thing!.. to be able to get the currently selected ListItem as an object?? c'mon, that's really basic stuff that should be supported.

From what I understand, the first call gets the correct window, but then the getFocus() method returns the wrong control.
In my case, I'm calling the script from within a list item's context menu, so I'm guessing it's referencing either the listgroup or one of the buttons (I can't seem to find a human-readable data field to identify for sure).

All I need is to be able to return the currently selected ListItem as an object... should be simple enough!
(frustrated)
Reply


Messages In This Thread
Getting the current selection - by jhsrennie - 2012-07-02, 16:53
RE: Getting the current selection - by pieh - 2012-07-03, 10:30
RE: Getting the current selection - by ronie - 2012-09-21, 20:17
RE: Getting the current selection - by ronie - 2012-09-21, 23:19
RE: Getting the current selection - by Popeye - 2012-11-27, 23:10
RE: Getting the current selection - by belese - 2013-10-10, 16:04
RE: Getting the current selection - by EtgarDizz - 2013-11-10, 23:40
RE: Getting the current selection - by tim619 - 2015-11-07, 02:18
RE: Getting the current selection - by Torben - 2016-04-02, 15:14


Logout Mark Read Team Forum Stats Members Help
Getting the current selection0
This forum uses Lukasz Tkacz MyBB addons.