| KUVAUS |
| Palauttaa tekstikentän sisällön. |
| KÄYTTÖ |
| getText(muuttuja) |
| muuttuja = Muuttuja, johon tekstikenttä on kutsuttu |
Katso myös: Inputfield, setText, Windows tyylinen käyttöliittymä
| ESIMERKKI |
Include "sdk/include/cbFormElements.cb"
ClsColor 212,208,200
Repeat
Text 50, 15, "Kirjoita nimesi:"
nimi$ = Inputfield(50,30,200,20,nimi$)
ok = CmdButton("Ok!",50,60,120,20)
If ok Then Goto painallus
DrawScreen
Forever
painallus:
Print "Hei, " + getText(nimi$) + "!"
WaitKey |