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?

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to