When attempting to drop down a list of locations in the Navigation bar, it's sometimes tricky to find the drop down button.
I'm interested in coding the Navigation bar to drop down the location list when the user clicks on the name of a location in the bar as well as the drop down button beside it.
The only possible solution I've come across would involve handling the mouse click event, translating the X and Y coordinates to try to determine which location as clicked and then force the list to drop down.
Is there an easier way to do this?
I've managed code this and it was easier than I thought it would be.
{
// find out whether the user clicked an element of the control
// See if we are over a location
}