[Mono-winforms-list] Caret

Rafael Teixeira monoman at gmail.com
Fri Mar 9 06:08:01 EST 2007


AFAIK, it depends on the control you are using. In Textbox, I think
you have properties like SelectionStart and SelectionCount that
control the selection and the caret (when SelectionCount == 0).

Unless you are trying to write a custom control, you normally doesn't
manipulate the caret directly. I would look in the TextBox control
sources to have the gist of it, if I where you

Good hunting,

On 3/9/07, David Joyner <d4ljoyn at gmail.com> wrote:
> I have a situation where I would like to control the caret.  I noticed that
> in the XPlatxxx classes there are methods to handle this but all are
> internal.
>
> Is there a recommended way for applications to show, hide, and position the
> caret?
>
> Thanks
>
> _______________________________________________
> Mono-winforms-list maillist  -
> Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw


More information about the Mono-winforms-list mailing list