Module: MultiTextBox 1.0, by SSH
Highlight the closest GUI label to the control specified and other multitextbox stuff
Download MultiTextBox as a zip file
Author
Andrew MacCormack (SSH)
Please use the PM function on the AGS forums to contact
me about problems with this module
Abstract
Lets AGS have multiple TextBoxes on multiple GUIs
Dependencies
AGS 2.71 or later
Functions
Most of the functionality is automatic when the module is imported.
However, the following function is used internally but may also be
handy for users, so is made available
Label *MultiTextBox.HighlightCloseLabel(GUIControl *gc, int color);
Finds the labels with the closest top-left corner to this GUIControl
and sets it to have the specified colour
Caveats
Configuring may require editing the module: e.g. if you don't want
the highlighting, etc. I didn't want to have too many config
options as the code runs in rep_ex_always and might get slowed up.
Revision History
12 May 06: v1.0 Initial version
Licence
MultiTextBox AGS script module
Copyright (C) 2006 Andrew MacCormack
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
In addition to the licences mentioned in the modules themselves, you may choose to use the following creative commons licence if you prefer for all AGS modules and open source code resources on my site.

This work is licenced under a Creative Commons Licence.