Search code examples
delphidelphi-2006intraweb

TIWMenu and TIWRegion hides Submenus


When I put a TIWMenu and a TIWRegion on a TIWAppForm with

IWMenu.align := alTop;
IWRegion.align := alClient;

the submenu of IWMenu is hidden behind the region. That means, when I click on File, a submenu should come up with Open, Save, Save As ..., and it does, but I only see the upper border as the rest shows up behind the IWRegion.

I tried to change the z-order, but it does not help. Neither does setting the IWRegion.ClipRegion := False;

Does anybody have a clue what I do wrong?

I am using Delphi BDS4/2006 with IntraWeb 9.0.42, Windows Vista x64, and Firefox 3.5, IE8, and IE Tab in Firefox.

I drop the two components on the form, connect the main menu to IWMenu, and there the problem is.


Solution

  • The problem was with the ServerController that used a style sheet. This prevented the z-index from being set by the application and therefore the z-order was wrong for the TIWMenu component.

    Removing the style sheet resolved the problem. The style sheet had some IDs conflicting with IW.