I don't understand F#, but if you are trying to reference a method 
called ChangeBackColor on TextBoxBase, there is no such method.

Jonathan

Jon Harrop wrote:
> Following the thread about compatibility, I thought I'd test some code using 
> the F# distribution for Mono. I tried my Sudoku solver and found a problem 
> partway though.
> 
> Specifically, I can inherit from TextBox on .NET but not under Mono:
> 
>> #r "System.Windows.Forms.dll";;
> 
> --> Referenced '/usr/local/lib/mono/2.0/System.Windows.Forms.dll'
> 
>> type A() =
>     inherit System.Windows.Forms.TextBox();;
> 
>   type A() =
>   -----^^
> 
> stdin(5,6): error FS0191: No implementation was given 
> for 'TextBoxBase.ChangeBackColor(System.Drawing.Color backColor) : 
> System.Drawing.Color'.
> 
> Any ideas why?
> 

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to