|
-
Feb 12th, 2008, 10:35 PM
#1
Thread Starter
PowerPoster
[2005] Drag and drop within multiline textbox
Would it be possible to drag and drop lines (where each line represents an item) within a multiline textbox, to allow the user to rearrange the items? If so, some sample code would be much appreciated.
Thanks,
Bruce
"It's cold gin time again ..."
Check out my website here.
-
Feb 12th, 2008, 10:47 PM
#2
Re: [2005] Drag and drop within multiline textbox
I suggest you use a ListBox.
-
Feb 12th, 2008, 11:26 PM
#3
Thread Starter
PowerPoster
Re: [2005] Drag and drop within multiline textbox
I am aware of the listbox option. In this particular case, the direct entry of a textbox would be desirable. So, is the drag and drop possible, and if so, is it more trouble than its worth?
"It's cold gin time again ..."
Check out my website here.
-
Feb 12th, 2008, 11:49 PM
#4
Re: [2005] Drag and drop within multiline textbox
Could you use a ListView with LabelEdit set to True? What you ask for would be possible with a TextBox but I'd guess it would be tedious. It would also be difficult to maintain the integrity of the data as the user could add line breaks wherever they felt like it.
-
Feb 13th, 2008, 12:19 AM
#5
Thread Starter
PowerPoster
Re: [2005] Drag and drop within multiline textbox
Actually, the ListView with LabelEdit is not a bad idea at all, hadn't thought about it. (I can do the D&D with the LV.) Thank you.
"It's cold gin time again ..."
Check out my website here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|