aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-04-23 15:19:51 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-04-23 15:19:51 -0400
commite68c65c36a623aa5a51b069ddc18ccab62a9312d (patch)
tree5a85819de034d59eea46380b2eae3e0a62d2222d
parentd65c4c634c817eb195e0634ef051d7e5382caaae (diff)
on launch focus goes to text-field
-rw-r--r--Hermes/GUI.rkt3
1 files changed, 3 insertions, 0 deletions
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.