MODULE: MultiTextBox v1.00 - Handle multiple text boxes

Started by SSH, Fri 12/05/2006 10:34:50

Previous topic - Next topic

SSH

Text boxes can be handy to get input, but if you ever have more than one onscreen you may find that the user is typing in all of them at once, even if there is a popup modal GUI... so, this module automatically handles multiple text boxes. All are disabled at game start and are enabled when clicked on. Also, if a GUI gets turned on during the game that had a single textbox on it, that textbox is enabled.

Download MultiTextBox here requires AGS 2.71
12

Pumaman


Nathan23


TheManInBoots

Does anyone still have the file and can post it or share a link? The link here is outdated...

Privateer Puddin'


TheManInBoots


Khris

The module required two small fixes to work with AGS 3.62:

Here's the download: MultiTextBox v1.1

The fixes:
Code: ags
// header
#define AGS_MAX_GUIS 100 // AGS_MAX_GUIS no longer exists engine-side

// main script, line 54
  if (minlab != null) minlab.TextColor=color; // caused null-pointer error if no label exists

SMF spam blocked by CleanTalk