It wouldn't be too difficult to just make a canvas-based control that
does what a static text does, and then add the selection functionality.
Let me know (off list) if you need any help.
- Ryan Dary
Phil M wrote:
I am using the StaticText control to display read-only data to the
user. It is a nice compact control and for the UI I created the
EditField is just too large.
But what I would like to do is allow the user to select the text within
the StaticText control so that they could "Copy" the data into other
applications. I find it a big surprise that the StaticText control
does not allow you to select text (at least as an option)... since I
have seen this behavior in a number of other applications.
So I am looking for alternatives...
Like I said the EditField is too large, and I need to have a
transparent background on the control. I am thinking that a custom
canvas is what I need to do, but handling selection of only part of the
string is no trivial task.
Any other suggestions? Anyone have a class like this?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>