Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] CCombo copy & paste


Szymon,

(note that swt usage questions like this should be asked on the eclipse.platform.swt newsgroup, not on this mailing list).

You're right, CCombo doesn't have these methods, and probably should since Text and Combo both do, so I've logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=143732 .

The only workaround I can suggest, aside from using Combo instead of CCombo, is to manually get/set the clipboard contents (for an example of this see http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet94.java ) and update the CCombo's text if needed.

Grant




Szymon Brandys <Szymon.Brandys@xxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

05/24/2006 06:29 AM

Please respond to
"Eclipse Platform SWT component developers list."

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[platform-swt-dev] CCombo copy & paste





Hi,

Could someone explain how to use copy/paste in the CCombo when it isn't in
a read-only mode.
In the Text widget there are copy, paste, cut etc. methods. What about the
CCombo?

Thanks

--
Szymon Brandys

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top