Is it possible to open Textwindow and Graphicwindow at once?

70 Views Asked by At

I'm Korean Highschool student. I made a game about the rules of Korean spelling. The program that I want is.. [ If you choose the correct answer, the graphic window will show the next question and the text window will say " Great job. " ] Is it impossible?

I want to add my codes. Unfortunately, I don't know how to add codes.

2

There are 2 best solutions below

0
Zock77 On

Yes, it's definitely possible. Just use TextWindow.WriteLine to show the Textwindow whenever.

showButton = Controls.AddButton("Show", 20, 20)
Controls.ButtonClicked = onButtonClicked

Sub onButtonClicked
  if Controls.LastClickedButton = showButton Then
    TextWindow.WriteLine("Button Clicked!")
    Shapes.Move(Shapes.AddText("Button Clicked!"), 20,50)
  EndIf
EndSub
0
CodeAlong On

Yes, I like coding in small basic and it is possible to show the text window and graphics window at the same time. You can use the following code to do this:

GraphicsWindow.Show()
TextWindow.Show()