Print Search Rate
    
   03-01-2004, 11:06 AM
HOWTO: How Can I Keep the Menubar At the Top?

To keep the menubar at the top, remove all flags in the Flags property except the Fixed flag, which should be checked. Then use the following code to prevent any other bands from being docked above the menubar:

Private Sub abDDWordPad_BandMove(ByVal Band As ActiveBar2LibraryCtl.Band) If Band.Name <> "mnuMain" Then abDDWordPad.Bands("mnuMain").DockLine = 0 abDDWordPad.RecalcLayout End If End Sub



Applies To:
ActiveBar 2.0
GrapeCity » Knowledge Base » KnowledgeBase f... » HOWTO: How Can I Keep the Menubar At the Top?
Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.