On a form I have a TexEdit and a TextArea.
I need to be able to select part of the text in the TextEdit with MouseDrag,
but without the ability to move the selected text around or to drop it
somewhere.
During testing I found the following:
- with MouseDrag disabled (stop event) I can't move the text (that's ok) but
I can not select a part (actually, the first character is selected
anyway...I thought it should not)
- with MouseDrag enabled, I select what I want, but I can also move the
selection around inside the the control (this is not acceptable).
- the DragMove event is never raised during this operation, so stopping it
is unuseful.

Please note that the TextEdit  Drop property is disabled.
I also noticed that with MouseDrag enabled I can drag and drop from TextEdit
over the TextArea, which also has the Drop property disabled, so possibly I
have two problems.

Is there any way to obtain what I need (or am I doing it wrong) ?

System:
Xubuntu 13.10 XFCE







--
View this message in context: 
http://gambas.8142.n7.nabble.com/TextEdit-and-TextArea-Drag-Drop-inconsistencies-tp47264.html
Sent from the gambas-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to