Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - toolbox drag & drop
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

toolbox drag & drop

 Post Reply Post Reply
Author
Message
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Topic: toolbox drag & drop
    Posted: 16 February 2005 at 2:00pm
Is it possible to allow toolbox items to be dragged&dropped to other controls/windows but not to be moved within the toolbox itself ?
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: 16 February 2005 at 2:41pm
Yes,

    wndToolBox.AllowDrag = True

    Dim BoxGroup As TaskPanelGroup
    For Each BoxGroup In wndToolBox.Groups
        BoxGroup.AllowDrop = False
    Next
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: 01 March 2005 at 1:24pm
In the next release you can specify the drag and drop options for each individual group and group item.  For example, you can specify that the item can only be "copied" and not removed.  Take a look at the XTPTaskPanelItemAllowDrag enumeration in the next release  Note that the type of AllowDrag is changed to type XTPTaskPanelItemAllowDrag.
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.156 seconds.