Print Page | Close Window

toolbox drag & drop

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1792
Printed Date: 02 July 2024 at 6:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: toolbox drag & drop
Posted By: tobi
Subject: toolbox drag & drop
Date 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 ?



Replies:
Posted By: SuperMario
Date 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


Posted By: SuperMario
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net