Print Page | Close Window

OLEDrag/ListBox: Am I missing something

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=18227
Printed Date: 04 July 2024 at 8:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: OLEDrag/ListBox: Am I missing something
Posted By: ceesverburg
Subject: OLEDrag/ListBox: Am I missing something
Date Posted: 15 April 2011 at 11:41am
Hi,

Very simple thing it seems: set OLEDragMode property of the listbox to automatic, but nothing seems to happen when I do this at design time or run time. Am I missing something?  Both in version 13.2.1 and 15.0.1 I have this problem...Angry



Replies:
Posted By: Oleg
Date Posted: 18 April 2011 at 8:17am
Hi,

Sorry in our version you still have to add

Private Sub ListBox1_OLEStartDrag(Data As XtremeSuiteControls.DataObject, AllowedEffects As Long)
    Data.SetData ListBox1.List(ListBox1.ListIndex)
    AllowedEffects = vbDropEffectCopy
End Sub


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ceesverburg
Date Posted: 20 April 2011 at 2:21am
Thanks Oleg,

I just found myself the same solution...



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