From 8e93f3fc43f97c5e483c6ee12237004fd1efd7ef Mon Sep 17 00:00:00 2001 From: Martin Andersen Date: Thu, 22 Oct 2020 11:32:59 +0200 Subject: [PATCH] Fix "The type 'Label' does not define the field, constructor or member Fix "The type 'Label' does not define the field, constructor or member 'TextColor'" by removing .TextColor as it is not used. --- FSharpExample/Program.fs | 1 - 1 file changed, 1 deletion(-) diff --git a/FSharpExample/Program.fs b/FSharpExample/Program.fs index 1c1946fd1..eb5b181d5 100644 --- a/FSharpExample/Program.fs +++ b/FSharpExample/Program.fs @@ -457,7 +457,6 @@ type Demo() = class end ml <- new Label(new Rect(3, 17, 47, 1), ustr "Mouse: ") Application.RootMouseEvent <- Action ( fun (me : MouseEvent) -> - ml.TextColor <- Colors.TopLevel.Normal ml.Text <- ustr ( (((sprintf "Mouse: (%O,%O) - %O %O" me.X) me.Y) me.Flags) ( count <- count + 1