Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > General Discussion
  New Posts New Posts RSS Feed - Locking Customization
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Locking Customization

 Post Reply Post Reply
Author
Message
MikeC View Drop Down
Newbie
Newbie


Joined: 15 October 2004
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote MikeC Quote  Post ReplyReply Direct Link To This Post Topic: Locking Customization
    Posted: 15 October 2004 at 8:50am
    I've been trying out the activex version and I'm wondering if there is a simple way to "disable" drag and drop customization for both docking panels and the command bars.

    Ie a newbie user enters a screen for the first time and starts clicking and dragging and generally mucking up a page, I'm looking something similar to XPs toolbar or IEs bar's locked state.  Ie, you have to go to a menu or right click to "turn on" the docking and customization abilities.  Just trying to prevent the "half my screen is gray" (ie dragging the windows taskbar halfway across the screen) problem from accidentally adjusting things.

     I might be overlooking something but I can't find it in the controls.


Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2004 at 9:24am
Maybe something like to disable moving of commandbar:
    Commandbars(1).EnableDocking = False

Something like this to disable pane floating and closing:

    Pane.Options = PaneNoFloatable Or PaneNoCloseable

To completely disable docking then something like this:

Private Sub DockingPaneManager_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, Cancel As Boolean)
    On Error Resume Next

    If Action = PaneActionDocking Then
         Cancel = True
    End If

End Sub
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.