Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fixed Toolbars

Status
Not open for further replies.

Gravey

Programmer
Oct 9, 2001
11
US
I am trying to create a toolbar that cannot be moved and is always in the same location. I have THIS.DOCK(0) in the Init Event of the Toolbar to force it to dock at the top and the MOVABLE property is set to False. This works fine except for one minor detail... double clicking on the toolbar will undock it! I cannot seem to do anything with the UNDOCK or DOUBLE CLICK events to prevent this behavior. Is there anything I can do to prevent the Double Click from Undocking the toolbar?

Thanks,
Mike Graves
 
Mike,
Have you tried adding:
NODEFAULT
to the toolbar's Dblclick() Event code?

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top