create a box
ox=scx/4
oy=32+128+32
oyy=64
osp=16
idtext1=createtext("")
c$="account balance"
settextstring(idtext1,c$)
settextposition(idtext1,ox,oy)
settextsize(idtext1,oyy)
settextdepth(idtext1,1)
fixtexttoscreen(idtext1,1)
oy=oy+oyy
idedit1=createeditbox()
SetEditBoxPosition( idedit1, ox,oy )
SetEditBoxSize(idedit1,320,oyy)
SetEditBoxFontImage( idedit1, imgFont )
SetEditBoxExtendedFontImage( idedit1,imgFont)
SetEditBoxText(idedit1,str(Kontostand))
SetEditBoxTextSize( idedit1, oyy )
SetEditBoxMaxChars(idedit1,8) //1000000
SetEditBoxDepth( idedit1, 1 )
SetEditBoxCursorWidth(idedit1,8)
FixEditBoxToScreen(idedit1,1)
SetEditBoxFocus(idedit1,1) //dabei spring die Bildschirm Tastatur an...
oy=oy+oyy
GetEditBoxChanged( index )
get a integer value from text box
Kontostand=val(getEditBoxText(idedit1))
AGK (Steam) V2.0.19 : Windows 10 Pro 64 Bit : AMD (16.3.2) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)