Hi

On Tue, 2008-05-27 at 16:47 -0700, ma_c wrote:
> Hi.
> I'm using Visual Studio 2008. In a textbox properties, I select MaxLength
> with value "1" (textbox.MaxLength = 1;). This works in Windows (in the
> textbox only can be entered 1 character), but it doesn't work in Linux with
> Mono, the textbox accepts more than 1 character.
> 
> What can i do to solve it?

This sounds like a bug in our Texbox implementation. Until this is fixed
you could listen to the TextChanged event and reset the Text manually if
it's changed to something larger than 1 character. 

And btw. do you mind filing a bug with a short repro?

Thanks in advance,
Valentin

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to