EXAMPLE SOURCE CODE



 Inputbox 2.0 for PlayBasic

By: Adaz Added: December 2nd, 2006

Category: All,Input


Hi,

This is the 2.0 version of my one-line inputbox routine for PlayBasic.

Usage:

inputtext$=inputbox(xpos,ypos,width,height,textcolor)

inputtext$ = the text you wish to edit, or can be empty

xpos,ypos = the top left corner of the textbox

iw,ih = the width and height of the textboxtextcolor = the color of the text

New in this version:

- The cursor is blinking nicely

- You can now select text with SHIFT + Left / Right!

- Copy / paste to/from Windows clipboard with CTRL+C / CTRL+V !

- In this version the other routines of the program don't halt while we edit the text. You can draw background, move sprites or anything, AND check the entered text in every frame, or deliberately finish the editing at any time.


Download: Login to Download





Release Type: The source code & tutorials found on this site are released as license ware for PlayBasic Users. No Person or Company may redistribute any file (tutorial / source code or media files) from this site, without explicit written permission.


 

 
     
 
       

(c) Copyright 2002 / 2024 Kevin Picone , UnderwareDesign.com  - Privacy Policy   Site: V0.99a [Alpha]