Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Not able to paste Ms-Excel column into SWT's Text widget (Not able to paste Ms-Excel column into SWT's Text widget )
icon9.gif  Not able to paste Ms-Excel column into SWT's Text widget [message #762481] Thu, 08 December 2011 06:42 Go to next message
Kumar  is currently offline Kumar Friend
Messages: 1
Registered: December 2011
Junior Member
I have SWT Text widget which is created with SWT.SINGLE style
e.g. Text myTextControl = new Text(shell, SWT.SINGLE);

Now, when I try to copy column from Ms-Excel only first of that selected column gets pasted into Text widget and not entire column.
I do understand that when I create Text widget with SWT.MULTI then I am able to paste entire Ms-Excel column into widget but it will not be in single row.

Previously, I was using Swings JTextField and in that case whenever I used to paste MS-Excel column ( using CTRL-V ) the entire Ms-Excel column gets pasted as a row in JTextField. I am looking for same kind of feature for SWT Text widget.
Re: Not able to paste Ms-Excel column into SWT's Text widget [message #764650 is a reply to message #762481] Mon, 12 December 2011 15:32 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Anyone wondering about this can see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=365984 .

Grant


On 12/8/2011 1:42 AM, Kumar wrote:
> I have SWT Text widget which is created with SWT.SINGLE style e.g. Text
> myTextControl = new Text(shell, SWT.SINGLE);
>
> Now, when I try to copy column from Ms-Excel only first of that selected
> column gets pasted into Text widget and not entire column.
> I do understand that when I create Text widget with SWT.MULTI then I am
> able to paste entire Ms-Excel column into widget but it will not be in
> single row.
>
> Previously, I was using Swings JTextField and in that case whenever I
> used to paste MS-Excel column ( using CTRL-V ) the entire Ms-Excel
> column gets pasted as a row in JTextField. I am looking for same kind of
> feature for SWT Text widget.
Previous Topic:MessageDialog default button
Next Topic:Lazy loading problem
Goto Forum:
  


Current Time: Fri Apr 26 12:00:32 GMT 2024

Powered by FUDForum. Page generated in 0.02434 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top