From e68c65c36a623aa5a51b069ddc18ccab62a9312d Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sun, 23 Apr 2017 15:19:51 -0400 Subject: on launch focus goes to text-field --- Hermes/GUI.rkt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Hermes/GUI.rkt b/Hermes/GUI.rkt index cae776a..a257acd 100644 --- a/Hermes/GUI.rkt +++ b/Hermes/GUI.rkt @@ -115,6 +115,9 @@ [label "Send"] [callback button-do-stuff])) + + (send input focus) ; move focus to text-field + ; get-dc retrieves the canvas' device context. From racket docs. A dc object ; is a drawing context for drawing graphics and text. It represents output ; devices in a generic way. -- cgit v1.2.3