GLBasic forum

Main forum => GLBasic - en => Topic started by: ampos on 2011-Mar-03

Title: New to DDGui
Post by: ampos on 2011-Mar-03
I have see the DDGui thing, and I am a bit lost... here is my sample program

Code (glbasic) Select
ddgui_pushdialog(0,0,100,100,0)
repeat
   ddgui_show(0)
   if inkey$="t"
      t$=ddgui_input$("Test")
      debug t$
   endif
   showscreen
until t$="fin"


Of course I am making it wrong, as I can not see anything working... any help?
Title: Re: New to DDGui
Post by: MrTAToad on 2011-Mar-03
Have you got a suitable font loaded (something dark) ?
Title: Re: New to DDGui
Post by: Kitty Hello on 2011-Mar-04
ddgui_input can be used as a replacement to INPUT. No need to pushdialog or anything.