Print Page | Close Window

taskpanel questions

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1288
Printed Date: 13 May 2024 at 11:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: taskpanel questions
Posted By: tobi
Subject: taskpanel questions
Date Posted: 15 October 2004 at 3:14pm

I´m just playing around with the taskpanel control to build a whidbey styled toolbox to put text snippets to which can be dragged and dropped to a edit control. Here I have some questions perhaps someone can help me:
1) How can I set single icons from a imagelist control as icon for a taskpanel item ?
2) Is it possible to disable "Allow drag" within the toolbox but allowing the user to drag and drop items to eg. a edit control ?
3) what is the best way to drag and drop text snippets from the toolbar to a edit control ?

Thanks




Replies:
Posted By: tobi
Date Posted: 16 October 2004 at 12:57am

Some things clear just trying long enough...
I have a solution for my first (1) question, perhaps someone can help me with the others ?
But in addition I have a new question:

Can I create multiline tooltips for taskpane entries ?



Posted By: SuperMario
Date Posted: 16 October 2004 at 8:34am
I'm not at my computer with Codejock on it, but I will try to help.

Maybe you can try to use vbCrLf in you tooltip text for a multi-line tip:
    ToolTipText = "Line 1" & vbCrLf & "Line 2" & vbCrLf & "Line etc..."


Posted By: tobi
Date Posted: 16 October 2004 at 9:10am

I´ve already tried it with .ToolTipText = "Line1" & vbCrLf & "Line2" and .ToolTipText = "Line1 \n Line2" but in both cases there are only two boxes displayed instead of a line break.
Do you know how to use the TaskPane control ( Toolbox ) for drag&drop items to a mdi edit control ? Prior to CodeJock I used OLEStartDrag functions but I can´t find these any more in the TaskPane control. Do you know how can this be solved ?




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