View Full Version : wObj.show() - Parameter Advice To Display Container at List Selected Item Location


07-18-2013, 03:38 PM
In my updated V12 user interface, I am using a combination of lists and "window" containers. The behavior I am trying to achieve is placing the dropdown window container right below the selected list item. (I am using the double click event to show the container.)

The wObj.show() command takes two parameters.

If I leave out the parameters, the dropdown is centered in the middle of the screen (as expected).

Here is where I want it to appear.

When I add the dropdown location (without the second parameter), The container window shows up, but it is in the upper left corner relative to the pane the list is within.


So the second parameter is key to place the dropdown window (container) relative to the selected list item.

My question is: How do I get that position so I can add that to my wObj.show() command so the dropdown window appears right below the item in the list?