Hi Stan,
>I have an application (Visual 3.0) running on both PC's and the Mac(Powerbook). If a user double clicks a disabled toolbar button, the toolbar undocks and disappears from the screen. On the PC, it simply undocks and is still on the screen. How can I prevent the Toolbar from undocking on the Mac. Any help would be appreciated.
Put the following code in the MouseUp event of the toolbar:
Local loRef
loRef = Sys(1270)
If not Lower( loRef.Baseclass ) == "toolbar"
?? Chr(7)
NoDefault
Endif
Christof
--
Christof