Hi Bruno,
I'm afraid I have another problem with the Inspector Bar... This time I am using an AdvColorSelector linked to the Inspector Bar via a TFormControlInspectorEditLink. The problem here is that the GetEditorValue event of the EditLink fires before the Select event of the ColorSelector. This means that I can't get the new selected color for the currently selected InspectorItem.
As with the FontDialog issue from last week, the problem does not occur in a simple test app, only in my main app. I have traced the difference down to the TAdvCustomSelector.HideDropDown which sets the FDropDownWindow.Visible to false. In the test app that is the end of the line, execution passes back up through the stack and on to set the SelectedColor. However in my main app setting the visible false triggers the focus to move away from the Item and this in turn triggers the GetEditorValue.
I can't find any obvious differences between the configuration of the InspectorBar, ColorSelector and EditLink in the main and test app though clearly something is messing one up.
Do you have any ideas as to why this might happen - or how I can prevent the focus change happening prematurely?