I have a custom control that has a floating popup menu over a listbox.
when I click on a cell in the listbox, I want to :
- populate the listbox with values specific to that cell
- set the popup menu listindex based on the current content of that cell
- position the popup over the listbox cell coordinates
- set the popup to visible
- open the popup menu
however I can only get the first four to happen…
I have to click the popup itself to get it to “open”
I have to click on the popup itself after it appears to “open” it…
otherwise I’m going to have to mess with overlaying ANOTHER listbox and thats gets messy if things are near the edge etc.
EXAMPLE : like the ALIGNMENT property of a TEXTFIELD in the Property Inspector