klyn.gui.windows.ComboBox.popupContainsPoint
method
public popupContainsPoint(x as Int, y as Int) as Boolean
Description

Tests the same popup bounds used by painting and native input routing.

Parameters
ParameterDescription
xPointer's horizontal position in the window.
yPointer's vertical position in the window.
Returns

Whether the expanded list contains this position.

Example

assert combo.popupContainsPoint(combo.x + 5, combo.popupTop + 5)