This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
How do I prevent Tool panels from being docked in the Tabbed Space zone.
I want to prevent a Tool panel from docking on the tabbed Space zone.
I see that I need to use the UpdateHotSpots so I have written this:
procedure TfmIDEMain.dsMainUpdateHotSpots(Sender: TObject;
AZone: TLMDDockZone; var EnabledAreas: TLMDActiveAreas);
begin
if AZone.Panel.ClientKind = dkTool then
Exclude(EnabledAreas, hsaZoneTabs)
end;
The documentation seems to be behind the code because when I created an OnUpdateHotSpots Event I see the EnabledAreas is of type TLMDActiveAreas but that type is not recognized as a type and the TLMDHotSpotAreas is recognized.
Can you advise on what the datatypes should be and what changes I need to make to get type compatibility.

Comments